diff --git a/scripts/upgrade b/scripts/upgrade index 6bdc026..cbd8182 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -115,7 +115,7 @@ then ynh_secure_remove --file=$final_path # Download, check integrity, uncompress and patch the source from app.src - ynh_setup_source --dest_dir="$final_path" --source_id=$YNH_ARCH + ynh_setup_source --dest_dir="$final_path" --source_id=$YNH_ARCH --keep="$config_path/navidrome.toml" fi chmod 750 "$final_path" @@ -140,15 +140,15 @@ ynh_add_nginx_config #================================================= # UPDATE A CONFIG FILE #================================================= -ynh_script_progression --message="Updating a configuration file..." +# ynh_script_progression --message="Updating a configuration file..." -config_path="/var/lib/$app" +# config_path="/var/lib/$app" -# Uncomment when there is new options added upstream -ynh_add_config --template="../conf/navidrome.toml" --destination="$config_path/navidrome.toml" +# # Uncomment when there is new options added upstream +# ynh_add_config --template="../conf/navidrome.toml" --destination="$config_path/navidrome.toml" -chmod 600 "$config_path/navidrome.toml" -chown -R $app:$app "$config_path" +# chmod 600 "$config_path/navidrome.toml" +# chown -R $app:$app "$config_path" #================================================= # SETUP SYSTEMD