mirror of
https://github.com/YunoHost-Apps/hubzilla_ynh.git
synced 2024-09-03 19:26:21 +02:00
Download external sources
This commit is contained in:
parent
3e4dbe90e9
commit
e52feeb798
5 changed files with 9 additions and 9 deletions
|
@ -69,12 +69,12 @@ ynh_app_setting_set $app db_user $db_user
|
|||
# 1 - hubzilla
|
||||
hubzilla_file=`sudo cat ../sources/hubzilla/source_file`;
|
||||
sudo wget -nv -i ../sources/hubzilla/source_url -O $hubzilla_file
|
||||
#sudo md5sum -c ../sources/hubzilla/source_md5 --status || (echo "Corrupt source" >&2 && false)
|
||||
sudo md5sum -c ../sources/hubzilla/source_md5 --status || (echo "Corrupt source" >&2 && false)
|
||||
sudo unzip ${hubzilla_file} -d $final_path
|
||||
# 2 - Addons
|
||||
addons_file=`sudo cat ../sources/addons/source_file`;
|
||||
sudo wget -nv -i ../sources/addons/source_url -O $addons_file
|
||||
#sudo md5sum -c ../sources/addons/source_md5 --status || (echo "Corrupt source" >&2 && false)
|
||||
addons_file=`sudo cat ../sources/hubzilla-addons/source_file`;
|
||||
sudo wget -nv -i ../sources/hubzilla-addons/source_url -O $addons_file
|
||||
sudo md5sum -c ../sources/hubzilla-addons/source_md5 --status || (echo "Corrupt source" >&2 && false)
|
||||
sudo unzip ${addons_file} -d $final_path/addon
|
||||
# 3 - some extra folders
|
||||
sudo mkdir -p "${final_path}/store/[data]/smarty3"
|
||||
|
@ -96,7 +96,7 @@ sudo sed -i "s/if the auto install failed, put a unique random string here/$(ynh
|
|||
sudo sed -i "s/ADMIN_EMAIL_REPLACE/$email/g" $final_path/.htconfig.php
|
||||
|
||||
# Set www-data to owner
|
||||
sudo chown -R www-data: $final_path
|
||||
sudo chown -R www-data:www-data $final_path
|
||||
|
||||
# Modify Nginx configuration file and copy it to Nginx conf directory
|
||||
sed -i "s@YNH_WWW_PATH@$path@g" ../conf/nginx.conf
|
||||
|
|
|
@ -1 +1 @@
|
|||
2.0.zip
|
||||
hubzilla-addons-2.0.zip
|
||||
|
|
|
@ -1 +1 @@
|
|||
a688dfd66d31674637106f8430ca1103 cops-1.0.1.zip
|
||||
09278c5123db1bbb5546c659177ecce5 hubzilla-addons-2.0.zip
|
||||
|
|
|
@ -1 +1 @@
|
|||
2.0.zip
|
||||
hubzilla-2.0.zip
|
||||
|
|
|
@ -1 +1 @@
|
|||
a688dfd66d31674637106f8430ca1103 cops-1.0.1.zip
|
||||
eb60bc48b04451af692af5ec4770066f hubzilla-2.0.zip
|
||||
|
|
Loading…
Add table
Reference in a new issue