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

Merge pull request #38 from YunoHost-Apps/add_acl_dep

Add acl dependency
This commit is contained in:
JimboJoe 2018-03-09 08:15:18 +01:00 committed by GitHub
commit ef88aaa436
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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
#=================================================
ynh_package_install transmission-daemon
ynh_install_app_dependencies transmission-daemon acl
#=================================================
# NGINX CONFIGURATION

View file

@ -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

View file

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

View file

@ -66,6 +66,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
#=================================================