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:
parent
e71dfdc173
commit
915bd181c7
5 changed files with 4 additions and 13 deletions
|
@ -1 +0,0 @@
|
||||||
deb http://http.debian.net/debian __CODENAME__-backports main
|
|
|
@ -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": [],
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue