From d4a437eb4594e49ad75a4fe696b135d4d48f1e11 Mon Sep 17 00:00:00 2001 From: oufmilo <44617467+oufmilo@users.noreply.github.com> Date: Sat, 4 Feb 2023 22:43:00 +0100 Subject: [PATCH] Fix restore & upgrade --- scripts/restore | 1 - scripts/upgrade | 2 -- 2 files changed, 3 deletions(-) diff --git a/scripts/restore b/scripts/restore index 50a0ea5..5969136 100755 --- a/scripts/restore +++ b/scripts/restore @@ -73,7 +73,6 @@ ynh_script_progression --message="Reinstalling dependencies..." --weight=5 # Define and install dependencies ynh_install_nodejs --nodejs_version=$NODEJS_VERSION ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies -ynh_install_extra_app_dependencies --repo="deb https://dl.yarnpkg.com/debian/ stable main" --package="yarn" --key="https://dl.yarnpkg.com/debian/pubkey.gpg" #================================================= # RESTORE THE NGINX CONFIGURATION diff --git a/scripts/upgrade b/scripts/upgrade index 1d93d33..7ec44c3 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -105,8 +105,6 @@ if [ "$upgrade_type" == "UPGRADE_APP" ] then ynh_script_progression --message="Upgrading source files..." - # Download, check integrity, uncompress and patch the source from app.src - ynh_setup_source --dest_dir="$final_path" --keep=".config/default.yml" pushd "$final_path" git checkout master git pull --quiet