From 4c72f24a3eb8a42e9d6d02f045119dde193bb6d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sun, 2 Apr 2023 14:46:46 +0200 Subject: [PATCH] Update upgrade --- scripts/upgrade | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index bb81357..8a27a2b 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -112,7 +112,7 @@ then ynh_script_progression --message="Upgrading source files..." --weight=94 # 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="airsonic.properties" fi chmod 750 "$final_path" @@ -184,13 +184,13 @@ chown $app $final_path/transcode #================================================= ynh_script_progression --message="Updating a configuration file..." --weight=1 -ynh_add_config --template="../conf/systemd-sysconfig" --destination="/etc/default/$app" -chmod 600 "/etc/default/$app" -chown $app:$app "/etc/default/$app" +#ynh_add_config --template="../conf/systemd-sysconfig" --destination="/etc/default/$app" +#chmod 600 "/etc/default/$app" +#chown $app:$app "/etc/default/$app" -ynh_add_config --template="../conf/airsonic.properties" --destination="$final_path/airsonic.properties" -chmod 600 "$final_path/airsonic.properties" -chown $app:$app "$final_path/airsonic.properties" +#ynh_add_config --template="../conf/airsonic.properties" --destination="$final_path/airsonic.properties" +#chmod 600 "$final_path/airsonic.properties" +#chown $app:$app "$final_path/airsonic.properties" #================================================= # SETUP SYSTEMD