From a120411238a89f4b0a35f29571f5227246ff3a02 Mon Sep 17 00:00:00 2001 From: Maniack Crudelis Date: Thu, 15 Jun 2017 00:50:48 +0200 Subject: [PATCH] Fix restore fails --- scripts/restore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/restore b/scripts/restore index cc36b0f..52602a1 100644 --- a/scripts/restore +++ b/scripts/restore @@ -69,7 +69,7 @@ ynh_package_install transmission-daemon # Transmission has to be stopped before modifying its config 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" #=================================================