summaryrefslogtreecommitdiff
path: root/src/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.py')
-rw-r--r--src/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.py b/src/util.py
index 50b8ff8..fcc58f4 100644
--- a/src/util.py
+++ b/src/util.py
@@ -10,7 +10,7 @@ DEFAULT_BAR_COLOR = colors.BLACK + colors.BG_CYAN
DEFAULT_BAR_COLOR_RESET = colors.BG_BLACK + colors.CYAN
def extract_tar(package_path, destination):
- tarfile.open(package_path).extractall(destination)
+ os.system(f"tar -h --no-overwrite-dir -xf {package_path} -C {destination}")
def add_path(*argv):
a = argv[0]