1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/navidrome_ynh.git synced 2024-09-03 19:46:30 +02:00
This commit is contained in:
ericgaspar 2022-01-13 22:17:37 +01:00
parent 7c1224de44
commit 61df16ef8e
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 5 additions and 5 deletions

View file

@ -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

View file

@ -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