From 1b512d6dedf28f0c46548398e9a5610d54a0a526 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Wed, 17 Aug 2022 12:40:37 +0200 Subject: [PATCH] Upgrade to bullseye --- manifest.json | 2 +- scripts/upgrade | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/manifest.json b/manifest.json index 114d86c..b34760a 100644 --- a/manifest.json +++ b/manifest.json @@ -20,7 +20,7 @@ "email": "" }, "requirements": { - "yunohost": ">= 4.3.0" + "yunohost": ">= 11.0.9" }, "multi_instance": true, "services": [ diff --git a/scripts/upgrade b/scripts/upgrade index e5d3988..fa1dfe2 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -79,7 +79,7 @@ then ynh_script_progression --message="Upgrading source files..." --weight=3 # 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="config.js" fi chmod 750 "$final_path" @@ -104,12 +104,12 @@ ynh_install_app_dependencies $pkg_dependencies #================================================= # UPDATE A CONFIG FILE #================================================= -ynh_script_progression --message="Updating a configuration file..." --weight=1 +#ynh_script_progression --message="Updating a configuration file..." --weight=1 -ynh_add_config --template="../conf/config.js.template" --destination="$final_path/config.js" +#ynh_add_config --template="../conf/config.js.template" --destination="$final_path/config.js" -chmod 400 "$final_path/config.js" -chown $app:$app "$final_path/config.js" +#chmod 400 "$final_path/config.js" +#chown $app:$app "$final_path/config.js" #================================================= # INSTALL THE LOUNGE