1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/navidrome_ynh.git synced 2024-09-03 19:46:30 +02:00

Update install

This commit is contained in:
Éric Gaspar 2023-03-08 22:49:31 +01:00
parent 096023d1aa
commit 7d612cdb37

View file

@ -19,6 +19,7 @@ enable_animation="true"
enable_transcoding="false"
welcome_message=""
enable_sharing="false"
config_path="/var/lib/$app"
#=================================================
# STORE SETTINGS FROM MANIFEST
@ -30,6 +31,7 @@ ynh_app_setting_set --app=$app --key=enable_animation --value=$enable_animation
ynh_app_setting_set --app=$app --key=enable_transcoding --value=$enable_transcoding
ynh_app_setting_set --app=$app --key=welcome_message --value=$welcome_message
ynh_app_setting_set --app=$app --key=enable_sharing --value=$enable_sharing
ynh_app_setting_set --app=$app --key=config_path --value=$config_path
#=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE
@ -69,9 +71,6 @@ ynh_multimedia_build_main_dir
#=================================================
ynh_script_progression --message="Adding a configuration file..." --weight=1
config_path="/var/lib/$app"
ynh_app_setting_set --app=$app --key=config_path --value=$config_path
mkdir -p "$config_path"
# Main config File