# HG changeset patch # User Pascal Bellard # Date 1233484894 0 # Node ID 2093d8f8343915e49f4e26c38ce332c54257b0a6 # Parent b538edb055969b11cf0b686f55bad7a81fd7a539 xarchive: fix tar.bz2 handler for busybox (fix typo) diff -r b538edb05596 -r 2093d8f83439 xarchive/stuff/slitaz-wrap.sh --- a/xarchive/stuff/slitaz-wrap.sh Sun Feb 01 10:59:06 2009 +0100 +++ b/xarchive/stuff/slitaz-wrap.sh Sun Feb 01 10:41:34 2009 +0000 @@ -146,7 +146,7 @@ action=$1 shift tardir="$(dirname "$archive")" - [ $(expr "$lc_archive" : ".*\."$BZIP2_EXTS"$") -gt ] && ! which bzip2 && return + [ $(expr "$lc_archive" : ".*\."$BZIP2_EXTS"$") -gt 0 ] && ! which bzip2 && return for ext in $TAR_EXTS $GZIP_EXTS $BZIP2_EXTS $COMPRESS_EXTS $LZMA_EXTS; do if [ $(expr "$lc_archive" : ".*\."$ext"$") -gt 0 ]; then if [ "$action" = "new_archive" ]; then