summaryrefslogtreecommitdiff
path: root/src/util.py
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2021-12-07 18:55:10 +0000
committerdavidovski <david@davidovski.xyz>2021-12-07 18:55:10 +0000
commitc7eb41091b9df6f08dbcaed38deca354fb797d50 (patch)
treed4db02ab6d2ef5295a34328fd66f26a2dbf8597e /src/util.py
parent77b06090f69264bcc93911664bea2810cd4571ba (diff)
added update command
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]