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

Fix remove then install

This commit is contained in:
Maniack Crudelis 2017-06-17 19:05:16 +02:00
parent 9b7eeb2b72
commit 4dc8a21dc5

View file

@ -25,7 +25,8 @@ peer_port=$(ynh_app_setting_get $app peer_port)
# REMOVE TRANSMISSION-DAEMON # REMOVE TRANSMISSION-DAEMON
#================================================= #=================================================
ynh_package_autoremove transmission-daemon ynh_apt purge transmission-daemon
ynh_package_autoremove transmission-common
#================================================= #=================================================
# DISABLE SERVICE IN ADMIN PANEL # DISABLE SERVICE IN ADMIN PANEL
@ -66,8 +67,6 @@ fi
sudo rm "/home/yunohost.multimedia/share/Torrents" sudo rm "/home/yunohost.multimedia/share/Torrents"
sudo rm "/home/yunohost.multimedia/share/Torrent to download" sudo rm "/home/yunohost.multimedia/share/Torrent to download"
# Remove config
ynh_secure_remove /etc/transmission-daemon
# Web interface # Web interface
ynh_secure_remove /usr/share/transmission ynh_secure_remove /usr/share/transmission
# And data # And data