# HG changeset patch # User Christophe Lincoln # Date 1305714881 -7200 # Node ID 405d1f3716ed94078a1c841e70a50b0acc1ae8eb # Parent 95fbe5695d3501cbbab191d6fcedd4fac205c9de cook: add tbz2 support (Thank Erjo for the patch) diff -r 95fbe5695d35 -r 405d1f3716ed cook --- a/cook Wed May 18 12:33:12 2011 +0200 +++ b/cook Wed May 18 12:34:41 2011 +0200 @@ -264,7 +264,7 @@ gettext "Extracting:"; echo " $TARBALL" case "$TARBALL" in *.tar.gz|*.tgz) tar xzf $SRC/$TARBALL 2>/dev/null ;; - *.tar.bz2|*.tbz) tar xjf $SRC/$TARBALL 2>/dev/null ;; + *.tar.bz2|*.tbz|*.tbz2) tar xjf $SRC/$TARBALL 2>/dev/null ;; *.tar.lzma) tar xaf $SRC/$TARBALL ;; *.tar) tar xf $SRC/$TARBALL ;; *.zip|*.xpi) unzip -o $SRC/$TARBALL ;;