1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/bozon_ynh.git synced 2024-09-03 18:16:09 +02:00
This commit is contained in:
ewilly 2016-10-11 21:32:25 +02:00
parent 4db75759e2
commit 1d3393f450
4 changed files with 1 additions and 5 deletions

View file

@ -44,7 +44,7 @@ ynh_app_setting_set "$app" filesize "$filesize"
# download upstream_version version of bozon
wget -nc --quiet https://github.com/broncowdd/BoZoN/archive/"$upstream_version".zip -P /tmp
sudo unzip -oq /tmp/"$upstream_version".zip -d /tmp
sudo mv /tmp/"$upstream_version" "$parent_path"/"$app"
sudo mv /tmp/BoZoN-"$upstream_version" "$parent_path"/"$app"
# copy files to final folder and set permissions
sudo find "$final_path" -type f -name ".htaccess" | xargs sudo rm
@ -119,4 +119,3 @@ fi
# restart services
sudo service php5-fpm restart || true
sudo service nginx restart || true
sudo yunohost app ssowatconf

View file

@ -33,4 +33,3 @@ ynh_package_autoremove "${app}-deps" || true
# Restart services
sudo service php5-fpm restart || true
sudo service nginx restart || true
sudo yunohost app ssowatconf

View file

@ -60,4 +60,3 @@ sudo cp -a ./conf/php-fpm.conf "$phpfpm_conf"
# Restart services
sudo service php5-fpm restart || true
sudo service nginx restart || true
sudo yunohost app ssowatconf

View file

@ -76,4 +76,3 @@ fi
# Restart services
sudo service php5-fpm restart || true
sudo service nginx restart || true
sudo yunohost app ssowatconf