From 0e2caab754a0e931d00ea7d55b3b0e031b78f71b Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 21 Nov 2009 23:02:53 +0100 Subject: extract: Fixes --- etc/functions/extract | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'etc/functions/extract') 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 ;; -- cgit v1.2.3