mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-11-30 20:33:14 +01:00
fix(extract): unpack .tar.lzma archives (#14298)
This commit is contained in:
1 parent
2cd4cc21fc
commit
32726ad0a5
4 files changed
+8
-2
No files matched your search
@@ -167,7 +167,11 @@ check_deb_multiple() {
|
||||
printf '\037\235\220\150\312\260\141\363\106\001' \
|
||||
> "$test_dir/fixture.Z"
|
||||
|
||||
for extension in lzma Z; do
|
||||
cp "$test_dir/plain" "$test_dir/sample.txt"
|
||||
tar -cf "$test_dir/fixture.tar" -C "$test_dir" sample.txt
|
||||
lzma -c "$test_dir/fixture.tar" > "$test_dir/fixture.tar.lzma"
|
||||
|
||||
for extension in lzma Z tar.lzma; do
|
||||
for mode in default target remove; do
|
||||
check_extract "$extension" "$mode"
|
||||
done
|
||||
|
||||
Reference in new issue
Block a user