From ccda7959af86ac77ed2d461cb571ce559c24ae25 Mon Sep 17 00:00:00 2001 From: anmol26s Date: Tue, 19 Jun 2018 01:46:17 +0530 Subject: [PATCH] Do not remove sources while upgrade --- scripts/upgrade | 3 --- 1 file changed, 3 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 005f5ac..c992d90 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -41,9 +41,6 @@ tmpdir="$(mktemp -d)" # Backup the config file in the temp dir cp -a "$final_path/.htconfig.php" "$tmpdir/.htconfig.php" -# Remove the app directory securely -ynh_secure_remove "$final_path" - # If final_path doesn't exist, create it if [ -z $final_path ]; then final_path=/var/www/$app