From 27432c8433ae76ccb0a9620df7c3e26e91376f96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Wed, 29 Nov 2023 14:19:52 +0100 Subject: [PATCH] Fix upgrade --- scripts/upgrade | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index ba44836..16b8a87 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -21,8 +21,7 @@ if [ "$upgrade_type" == "UPGRADE_APP" ] then ynh_script_progression --message="Upgrading source files..." --weight=1 - # Download, check integrity, uncompress and patch the source from app.src - ynh_setup_source --dest_dir="$install_dir" + ynh_setup_source --dest_dir="$install_dir/source" chown -R $app:www-data "$install_dir" ynh_script_progression --message="Installing NodeJS..." --weight=20