Skip to content

Commit 46b7610

Browse files
committed
fix(filesystem): add -o flag to tar extraction
1 parent 1192d21 commit 46b7610

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/filesystem.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def extract_index(index_file: str):
2222
logging.debug(f"Creating temp directory: {config.TEMP_DIR}")
2323
os.makedirs(config.TEMP_DIR, exist_ok=True)
2424

25-
install_command = f"lbzip2 -d -c {index_file} | tar x -C {config.TEMP_DIR}"
25+
install_command = f"lbzip2 -d -c {index_file} | tar x -o -C {config.TEMP_DIR}"
2626
logging.debug(f"Extraction command: {install_command}")
2727

2828
try:

0 commit comments

Comments
 (0)