tazwok rev 46
Tar and zip archives support fix
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 07 16:04:12 2008 +0000 (2008-03-07) |
parents | 0d771b8f59d4 |
children | cf92efca5c55 |
files | tazwok |
line diff
1.1 --- a/tazwok Fri Mar 07 15:54:39 2008 +0000 1.2 +++ b/tazwok Fri Mar 07 16:04:12 2008 +0000 1.3 @@ -275,7 +275,7 @@ 1.4 if [ "`echo $TARBALL | grep zip$`" ]; then 1.5 ( cd $WOK/$PACKAGE; unzip $SOURCES_REPOS 1.6 ITORY/$TARBALL ) 1.7 - elif [ "`basename $TARBALL | grep tar`" ]; then 1.8 + elif [ "`basename $TARBALL | grep tar$`" ]; then 1.9 tar xf $SOURCES_REPOSITORY/$TARBALL -C $WOK/$PACKAGE 1.10 elif [ "`basename $TARBALL | grep tar.bz2`" ]; then 1.11 tar xjf $SOURCES_REPOSITORY/$TARBALL -C $WOK/$PACKAGE