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:
parent
0242c52d5f
commit
7d887f6bc1
4 changed files with 9 additions and 4 deletions
|
@ -66,7 +66,7 @@ ynh_app_setting_set $app peer_port $peer_port
|
|||
# INSTALL TRANSMISSION
|
||||
#=================================================
|
||||
|
||||
ynh_package_install transmission-daemon
|
||||
ynh_install_app_dependencies transmission-daemon acl
|
||||
|
||||
#=================================================
|
||||
# NGINX CONFIGURATION
|
||||
|
|
|
@ -25,8 +25,7 @@ peer_port=$(ynh_app_setting_get $app peer_port)
|
|||
# REMOVE TRANSMISSION-DAEMON
|
||||
#=================================================
|
||||
|
||||
ynh_apt purge transmission-daemon
|
||||
ynh_package_autoremove transmission-common
|
||||
ynh_remove_app_dependencies
|
||||
|
||||
#=================================================
|
||||
# DISABLE SERVICE IN ADMIN PANEL
|
||||
|
|
|
@ -60,7 +60,7 @@ yunohost firewall allow TCP $peer_port >/dev/null 2>&1
|
|||
# REINSTALL TRANSMISSION
|
||||
#=================================================
|
||||
|
||||
ynh_package_install transmission-daemon
|
||||
ynh_install_app_dependencies transmission-daemon acl
|
||||
|
||||
#=================================================
|
||||
# RESTORE TRANSMISSION CONFIGURATION
|
||||
|
|
|
@ -63,6 +63,12 @@ path_url=$(ynh_normalize_url_path $path_url)
|
|||
[ "$path_url" = "/" ] || path_url=${path_url}/
|
||||
ynh_add_nginx_config
|
||||
|
||||
#=================================================
|
||||
# INSTALL DEPENDENCIES
|
||||
#=================================================
|
||||
|
||||
ynh_install_app_dependencies transmission-daemon acl
|
||||
|
||||
#=================================================
|
||||
# SPECIFIC UPGRADE
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue