1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/transmission_ynh.git synced 2024-09-04 01:46:12 +02:00

Add acl dependency

This commit is contained in:
Maniack Crudelis 2018-03-03 18:39:57 +01:00
parent 0242c52d5f
commit 7d887f6bc1
4 changed files with 9 additions and 4 deletions

View file

@ -66,7 +66,7 @@ ynh_app_setting_set $app peer_port $peer_port
# INSTALL TRANSMISSION # INSTALL TRANSMISSION
#================================================= #=================================================
ynh_package_install transmission-daemon ynh_install_app_dependencies transmission-daemon acl
#================================================= #=================================================
# NGINX CONFIGURATION # NGINX CONFIGURATION

View file

@ -25,8 +25,7 @@ peer_port=$(ynh_app_setting_get $app peer_port)
# REMOVE TRANSMISSION-DAEMON # REMOVE TRANSMISSION-DAEMON
#================================================= #=================================================
ynh_apt purge transmission-daemon ynh_remove_app_dependencies
ynh_package_autoremove transmission-common
#================================================= #=================================================
# DISABLE SERVICE IN ADMIN PANEL # DISABLE SERVICE IN ADMIN PANEL

View file

@ -60,7 +60,7 @@ yunohost firewall allow TCP $peer_port >/dev/null 2>&1
# REINSTALL TRANSMISSION # REINSTALL TRANSMISSION
#================================================= #=================================================
ynh_package_install transmission-daemon ynh_install_app_dependencies transmission-daemon acl
#================================================= #=================================================
# RESTORE TRANSMISSION CONFIGURATION # RESTORE TRANSMISSION CONFIGURATION

View file

@ -63,6 +63,12 @@ path_url=$(ynh_normalize_url_path $path_url)
[ "$path_url" = "/" ] || path_url=${path_url}/ [ "$path_url" = "/" ] || path_url=${path_url}/
ynh_add_nginx_config ynh_add_nginx_config
#=================================================
# INSTALL DEPENDENCIES
#=================================================
ynh_install_app_dependencies transmission-daemon acl
#================================================= #=================================================
# SPECIFIC UPGRADE # SPECIFIC UPGRADE
#================================================= #=================================================