1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/spip_ynh.git synced 2024-09-03 20:25:59 +02:00

Suppression code doublon

This commit is contained in:
magikcypress 2017-02-21 04:59:01 +01:00
parent 00cad842f2
commit e964931aae

View file

@ -30,12 +30,6 @@ final_path=/var/www/$app
db_name=$app
# Check if admin is not null
if [[ "$admin_spip" = "" || "$is_public" = "" || "$language" = "" ]]; then
echo "Unable to upgrade, please contact support"
ynh_die
fi
# Modify Nginx configuration file and copy it to Nginx conf directory
sed -i "s@PATHTOCHANGE@$path@g" ../conf/nginx.conf*
sed -i "s@ALIASTOCHANGE@$final_path/@g" ../conf/nginx.conf*