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
Executable → Regular
+1
-1
@@ -88,7 +88,7 @@ EOF
|
||||
tar --xz --help &> /dev/null \
|
||||
&& tar --xz -xvf "$full_path" \
|
||||
|| xzcat "$full_path" | tar xvf - } ;;
|
||||
(*.tar.zma|*.tlz)
|
||||
(*.tar.lzma|*.tar.zma|*.tlz)
|
||||
tar --lzma --help &> /dev/null \
|
||||
&& tar --lzma -xvf "$full_path" \
|
||||
|| lzcat "$full_path" | tar xvf - ;;
|
||||
|
||||
Reference in new issue
Block a user