force remove $package_path during a custom upgrade

This commit is contained in:
Kay0u 2020-12-18 23:48:23 +01:00
parent c3dc035f23
commit 2ecb6cb3e8
No known key found for this signature in database
GPG key ID: AAFEEB16CFA2AE2D

View file

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