wok-6.x diff xarchive/stuff/slitaz-wrap.sh @ rev 2512
e2fsprogs: fix ibuuid spin off
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 16 16:45:25 2009 +0000 (2009-03-16) |
parents | b538edb05596 |
children | d1d5df9b017e |
line diff
1.1 --- a/xarchive/stuff/slitaz-wrap.sh Sun Feb 01 10:59:06 2009 +0100 1.2 +++ b/xarchive/stuff/slitaz-wrap.sh Mon Mar 16 16:45:25 2009 +0000 1.3 @@ -146,7 +146,7 @@ 1.4 action=$1 1.5 shift 1.6 tardir="$(dirname "$archive")" 1.7 - [ $(expr "$lc_archive" : ".*\."$BZIP2_EXTS"$") -gt ] && ! which bzip2 && return 1.8 + [ $(expr "$lc_archive" : ".*\."$BZIP2_EXTS"$") -gt 0 ] && ! which bzip2 && return 1.9 for ext in $TAR_EXTS $GZIP_EXTS $BZIP2_EXTS $COMPRESS_EXTS $LZMA_EXTS; do 1.10 if [ $(expr "$lc_archive" : ".*\."$ext"$") -gt 0 ]; then 1.11 if [ "$action" = "new_archive" ]; then