From 3c570d6b448c58fed5b654fc9af91ed25f49b5cd Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 19 Apr 2021 18:36:03 +0200 Subject: [PATCH] Update upgrade --- scripts/upgrade | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index bd61f5e..e5ae2e0 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -92,12 +92,10 @@ then if [ "$version" -lt "4.3" ]; then mkdir -p $public_path/uploads + # Move media to new path cp -a "$final_path/public/uploads" "$public_path/uploads" fi - # Move media to new path - cp -a "$final_path/public/uploads" "$public_path/uploads" - # Remove the app directory securely ynh_secure_remove --file="$final_path"