From 61df16ef8e8a9586479252531c06f116ff80a10b Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Thu, 13 Jan 2022 22:17:37 +0100 Subject: [PATCH] Fix --- scripts/install | 4 ++-- scripts/upgrade | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/install b/scripts/install index 708e2b4..a6685f9 100644 --- a/scripts/install +++ b/scripts/install @@ -27,9 +27,9 @@ architecture=$YNH_ARCH app=$YNH_APP_INSTANCE_NAME -enable_downloads="true" scanner_extractor="taglib" -enable_animation="true" +enable_downloads="1" +enable_animation="1" #================================================= # CHECK IF THE APP CAN BE INSTALLED WITH THESE ARGS diff --git a/scripts/upgrade b/scripts/upgrade index b85aec5..9c2d5f0 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -61,17 +61,17 @@ ynh_systemd_action --service_name=$app --action="stop" --log_path=systemd ynh_script_progression --message="Ensuring downward compatibility..." --weight=1 if [ -z "$enable_animation" ]; then - enable_animation="true" + enable_animation="1" ynh_app_setting_set --app=$app --key=enable_animation --value=$enable_animation fi if [ -z "$enable_downloads" ]; then - enable_downloads="true" + enable_downloads="1" ynh_app_setting_set --app=$app --key=enable_downloads --value=$enable_downloads fi if [ -z "$scanner_extractor" ]; then - scanner_extractor="true" + scanner_extractor="taglib" ynh_app_setting_set --app=$app --key=scanner_extractor --value=$scanner_extractor fi