1
0
Fork 0
mirror of synced 2024-12-22 22:18:57 -05:00

[archive] Fix lzma typo

Looks like nobody uses it, as the same typo is present in Oh-My-Zsh and
Prezto...  :- )
This commit is contained in:
Eric Nielsen 2018-02-08 11:03:30 -05:00
parent e244a123d8
commit de045ab70e

View file

@ -23,7 +23,7 @@ case "${archive_name}" in
(*.tar.bz2|*.tbz|*.tbz2) tar -xvjf "${archive_name}" ;;
(*.tar.xz|*.txz) tar --xz --help &>/dev/null && tar --xz -xvf "${archive_name}" \
|| xzcat "${archive_name}" | tar xvf - ;;
(*.tar.zma|*.tlz) tar --lzma --help &>/dev/null && tar --lzma -xvf "${archive_name}" \
(*.tar.lzma|*.tlz) tar --lzma --help &>/dev/null && tar --lzma -xvf "${archive_name}" \
|| lzcat "${archive_name}" | tar xvf - ;;
(*.tar) tar xvf "${archive_name}" ;;
(*.gz) gunzip "${archive_name}" ;;