From 0ab0b298de4e7cef08e59e43351a488e8ed20b1b Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Wed, 12 May 2021 08:55:36 +0200 Subject: [PATCH] Fix --- manifest.json | 2 +- scripts/upgrade | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/manifest.json b/manifest.json index 4c864be..b3dde7a 100644 --- a/manifest.json +++ b/manifest.json @@ -18,7 +18,7 @@ "email": "maxime.bugeia@gmail.com" }], "requirements": { - "yunohost": ">= 4.1.7" + "yunohost": ">= 4.2.4" }, "multi_instance": false, "services": [ diff --git a/scripts/upgrade b/scripts/upgrade index e8e797d..23933b2 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -84,7 +84,7 @@ then ynh_script_progression --message="Upgrading source files..." --weight=7 # Download, check integrity, uncompress and patch the source from app.src - ynh_setup_source --dest_dir="$final_path" + ynh_setup_source --dest_dir="$final_path" --keep="$final_path/config.js" fi #================================================= @@ -142,9 +142,6 @@ ynh_add_systemd_config # UPGRADE HASTE CONFIGURATION #================================================= -# Define app's data directory -ynh_add_config --template="../conf/config.js" --destination="$final_path/config.js" - # Replace ajax.googleapis by local file cp ../sources/jquery.min.js "$final_path/static/jquery.min.js"