diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-11-21 23:02:53 +0100 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-11-21 23:02:53 +0100 |
commit | 0e2caab754a0e931d00ea7d55b3b0e031b78f71b (patch) | |
tree | 756674428cb3f182c7d2acf1c2939ef0338fb487 /etc/functions/extract | |
parent | f202ac80d9423ee7f86aaf2467f52ddd673ee9b1 (diff) |
extract: Fixes
Diffstat (limited to 'etc/functions/extract')
-rw-r--r-- | etc/functions/extract | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/functions/extract b/etc/functions/extract index a690a90..9312678 100644 --- a/etc/functions/extract +++ b/etc/functions/extract @@ -4,15 +4,15 @@ if [[ -f $1 ]] { case $1 in - *.(tar.bz2|bz2)) tar xvjf $* ;; + *.(tar.bz2|tbz2)) tar xvjf $* ;; *.(tar.gz|tgz)) tar xvzf $* ;; *.tar.lzma) unlzma $1 | tar xv ;; *.ace) unace e $1 ;; *.rar) unrar x $1 ;; *.deb) ar -x $1 ;; - *.bz2) bzip2 -d $1 ;; + *.bz2) bunzip2 $1 ;; *.lzh) lha x $1 ;; - *.gz) gunzip -d $1 ;; + *.gz) gunzip $1 ;; *.tar) tar xvf $* ;; *.zip) unzip $1 ;; *.Z) uncompress $1 ;; |