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:
parent
096023d1aa
commit
7d612cdb37
1 changed files with 2 additions and 3 deletions
|
@ -19,6 +19,7 @@ enable_animation="true"
|
||||||
enable_transcoding="false"
|
enable_transcoding="false"
|
||||||
welcome_message=""
|
welcome_message=""
|
||||||
enable_sharing="false"
|
enable_sharing="false"
|
||||||
|
config_path="/var/lib/$app"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# STORE SETTINGS FROM MANIFEST
|
# 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=enable_transcoding --value=$enable_transcoding
|
||||||
ynh_app_setting_set --app=$app --key=welcome_message --value=$welcome_message
|
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=enable_sharing --value=$enable_sharing
|
||||||
|
ynh_app_setting_set --app=$app --key=config_path --value=$config_path
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
||||||
|
@ -69,9 +71,6 @@ ynh_multimedia_build_main_dir
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Adding a configuration file..." --weight=1
|
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"
|
mkdir -p "$config_path"
|
||||||
|
|
||||||
# Main config File
|
# Main config File
|
||||||
|
|
Loading…
Add table
Reference in a new issue