mirror of
https://github.com/YunoHost-Apps/transmission_ynh.git
synced 2024-09-04 01:46:12 +02:00
Fix restore fails
This commit is contained in:
parent
3b0ddf4a5d
commit
a120411238
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ ynh_package_install transmission-daemon
|
||||||
# Transmission has to be stopped before modifying its config
|
# Transmission has to be stopped before modifying its config
|
||||||
sudo systemctl stop transmission-daemon
|
sudo systemctl stop transmission-daemon
|
||||||
|
|
||||||
sudo rm /etc/transmission-daemon/settings.json
|
sudo rm -f /etc/transmission-daemon/settings.json
|
||||||
ynh_restore_file "/etc/transmission-daemon/settings.json"
|
ynh_restore_file "/etc/transmission-daemon/settings.json"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue