We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b49320f commit 2337d2fCopy full SHA for 2337d2f
zypperoni
@@ -29,7 +29,7 @@ from shlex import quote
29
import xml.etree.ElementTree as ET
30
31
# Constants
32
-ZYPPERONI_VERSION = "1.0.5"
+ZYPPERONI_VERSION = "1.0.6"
33
ZYPPER_PID_FILE = "/run/zypp.pid"
34
ZYPPER_ENV = "ZYPP_CURL2=1 ZYPP_PCK_PRELOAD=1 ZYPP_SINGLE_RPMTRANS=1"
35
@@ -123,7 +123,7 @@ def recursive_delete(path):
123
return False
124
if not path.startswith(tempfile.gettempdir()) or not path.startswith(ZYPPERONI_TMP_DIR):
125
126
- command = f"rm -r {quote(path)} > /dev/null 2>&1"
+ command = f"findmnt {quote(path)} > /dev/null 2>&1 || rm -r {quote(path)} > /dev/null 2>&1"
127
os.system(command)
128
return True
129
0 commit comments