1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/minidlna_ynh.git synced 2024-09-03 19:36:34 +02:00

ynh_add_app_dependencies -> ynh_install_app_dependencies

This commit is contained in:
Kay0u 2020-11-03 16:48:32 +01:00
parent e71dfdc173
commit 915bd181c7
No known key found for this signature in database
GPG key ID: AAFEEB16CFA2AE2D
5 changed files with 4 additions and 13 deletions

View file

@ -1 +0,0 @@
deb http://http.debian.net/debian __CODENAME__-backports main

View file

@ -18,7 +18,7 @@
"email": "maniackc_dev@crudelis.fr" "email": "maniackc_dev@crudelis.fr"
}], }],
"requirements": { "requirements": {
"yunohost": ">= 3.5" "yunohost": ">= 3.6"
}, },
"multi_instance": false, "multi_instance": false,
"services": [], "services": [],

View file

@ -30,14 +30,6 @@ ynh_script_progression --message="Storing installation settings..." --weight=2
ynh_app_setting_set --app=$app --key=overwrite_settings --value=1 ynh_app_setting_set --app=$app --key=overwrite_settings --value=1
ynh_app_setting_set --app=$app --key=admin_mail_html --value=1 ynh_app_setting_set --app=$app --key=admin_mail_html --value=1
#=================================================
# CHECK DEBIAN'S CODENAME
#=================================================
ynh_script_progression --message="Checking Debian's codename..."
codename=$(ynh_get_debian_release)
test -z "$codename" && (ynh_die --message="codename empty")
#================================================= #=================================================
# STANDARD MODIFICATIONS # STANDARD MODIFICATIONS
#================================================= #=================================================
@ -68,7 +60,7 @@ ynh_multimedia_build_main_dir
#================================================= #=================================================
ynh_script_progression --message="Installing MiniDLNA..." --weight=45 ynh_script_progression --message="Installing MiniDLNA..." --weight=45
ynh_add_app_dependencies --package=minidlna ynh_install_app_dependencies minidlna
#================================================= #=================================================
# INCREASE INOTIFY'S LIMITS # INCREASE INOTIFY'S LIMITS

View file

@ -48,7 +48,7 @@ ynh_multimedia_build_main_dir
#================================================= #=================================================
ynh_script_progression --message="Installing MiniDLNA" --weight=45 ynh_script_progression --message="Installing MiniDLNA" --weight=45
ynh_add_app_dependencies --package=minidlna ynh_install_app_dependencies minidlna
#================================================= #=================================================
# RESTORE INOTIFY'S CONFIG # RESTORE INOTIFY'S CONFIG

View file

@ -83,7 +83,7 @@ ynh_multimedia_build_main_dir
#================================================= #=================================================
ynh_script_progression --message="Upgrading MiniDLNA..." --weight=3 ynh_script_progression --message="Upgrading MiniDLNA..." --weight=3
ynh_add_app_dependencies --package=minidlna ynh_install_app_dependencies minidlna
#================================================= #=================================================
# INCREASE INOTIFY'S LIMITS # INCREASE INOTIFY'S LIMITS