From e964931aaeeeb0dbd319e63415ca19bf7a574019 Mon Sep 17 00:00:00 2001 From: magikcypress Date: Tue, 21 Feb 2017 04:59:01 +0100 Subject: [PATCH] Suppression code doublon --- scripts/upgrade | 6 ------ 1 file changed, 6 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 22f70ae..d20113b 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -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*