1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/friendica_ynh.git synced 2024-09-03 18:36:14 +02:00

Mannualy adding addons

This commit is contained in:
Anmol 2017-07-18 16:24:35 +05:30
parent 8eb698adca
commit e87a0398b7
4 changed files with 11 additions and 1 deletions

View file

@ -0,0 +1 @@
friendica-addons-3.5.2

View file

@ -0,0 +1 @@
76c1f028d7047fa7dd6abdd25a6d0afb friendica-addons-3.5.2

View file

@ -0,0 +1 @@
https://github.com/friendica/friendica-addons/archive/3.5.2.zip

View file

@ -82,7 +82,14 @@ ynh_mysql_setup_db $db_name $db_name
ynh_app_setting_set $app final_path $final_path ynh_app_setting_set $app final_path $final_path
# Download, check integrity, uncompress and patch the source from app.src # Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source "$final_path" ynh_setup_source "$final_path"
ynh_setup_source ../conf/addons.src "$final_path/addon"
# 2 - Addons
addons_file=`sudo cat ../conf/friendica-addons/source_file`;
sudo wget -nv -i ../sources/hubzilla-addons/source_url -O ${addons_file}.zip
sudo md5sum -c ../sources/hubzilla-addons/source_md5 --status || (echo "Corrupt source" >&2 && false)
sudo unzip -q ${addons_file}.zip -d ../conf/friendica-addons/
sudo mkdir $final_path/addon
sudo cp -r ../sources/hubzilla-addons/${addons_file}/. $final_path/addon