mirror of
https://github.com/YunoHost-Apps/navidrome_ynh.git
synced 2024-09-03 19:46:30 +02:00
Fix
This commit is contained in:
parent
7c1224de44
commit
61df16ef8e
2 changed files with 5 additions and 5 deletions
|
@ -27,9 +27,9 @@ architecture=$YNH_ARCH
|
||||||
|
|
||||||
app=$YNH_APP_INSTANCE_NAME
|
app=$YNH_APP_INSTANCE_NAME
|
||||||
|
|
||||||
enable_downloads="true"
|
|
||||||
scanner_extractor="taglib"
|
scanner_extractor="taglib"
|
||||||
enable_animation="true"
|
enable_downloads="1"
|
||||||
|
enable_animation="1"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# CHECK IF THE APP CAN BE INSTALLED WITH THESE ARGS
|
# CHECK IF THE APP CAN BE INSTALLED WITH THESE ARGS
|
||||||
|
|
|
@ -61,17 +61,17 @@ ynh_systemd_action --service_name=$app --action="stop" --log_path=systemd
|
||||||
ynh_script_progression --message="Ensuring downward compatibility..." --weight=1
|
ynh_script_progression --message="Ensuring downward compatibility..." --weight=1
|
||||||
|
|
||||||
if [ -z "$enable_animation" ]; then
|
if [ -z "$enable_animation" ]; then
|
||||||
enable_animation="true"
|
enable_animation="1"
|
||||||
ynh_app_setting_set --app=$app --key=enable_animation --value=$enable_animation
|
ynh_app_setting_set --app=$app --key=enable_animation --value=$enable_animation
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "$enable_downloads" ]; then
|
if [ -z "$enable_downloads" ]; then
|
||||||
enable_downloads="true"
|
enable_downloads="1"
|
||||||
ynh_app_setting_set --app=$app --key=enable_downloads --value=$enable_downloads
|
ynh_app_setting_set --app=$app --key=enable_downloads --value=$enable_downloads
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "$scanner_extractor" ]; then
|
if [ -z "$scanner_extractor" ]; then
|
||||||
scanner_extractor="true"
|
scanner_extractor="taglib"
|
||||||
ynh_app_setting_set --app=$app --key=scanner_extractor --value=$scanner_extractor
|
ynh_app_setting_set --app=$app --key=scanner_extractor --value=$scanner_extractor
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue