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:
parent
00cad842f2
commit
e964931aae
1 changed files with 0 additions and 6 deletions
|
@ -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*
|
||||
|
|
Loading…
Reference in a new issue