From 2ecb6cb3e8b6a9afa6393181736472d6b3e97ebd Mon Sep 17 00:00:00 2001 From: Kay0u Date: Fri, 18 Dec 2020 23:48:23 +0100 Subject: [PATCH] force remove $package_path during a custom upgrade --- lib/tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tests.sh b/lib/tests.sh index b680ebf..89f8d1f 100644 --- a/lib/tests.sh +++ b/lib/tests.sh @@ -375,7 +375,7 @@ TEST_UPGRADE () { local ret=$? # Then replace the backup - rm -r "$package_path" + rm -rf "$package_path" mv "${package_path}_back" "$package_path" fi