From a9e2c664b3ee0666912214410e7b8fe632633f07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sun, 19 Jun 2022 14:02:12 +0200 Subject: [PATCH] Update upgrade --- scripts/upgrade | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 6736ef6..b721000 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -66,10 +66,8 @@ then ynh_script_progression --message="Upgrading source files..." --weight=1 # Download, check integrity, uncompress and patch the source from app.src - mv "$final_path/nitter.conf" "$final_path/nitter.conf.bak" ynh_setup_source --dest_dir="$final_path" --source_id="app" - ynh_setup_source --dest_dir="$final_path/nim-installation" --source_id=$YNH_ARCH - mv "$final_path/nitter.conf.bak" "$final_path/nitter.conf" + ynh_setup_source --dest_dir="$final_path/nim-installation" --source_id=$YNH_ARCH --keep="$final_path/nitter.conf" fi #=================================================