CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Added support for *.tbz2 and *.txz source entries in pkgmk.
authorAndrew Brouwers <abrouwers@gmail.com>
Sat, 27 Mar 2010 16:30:02 +0000 (17:30 +0100)
committerTilman Sauerbeck <tilman@crux.nu>
Sat, 27 Mar 2010 16:30:02 +0000 (17:30 +0100)
pkgmk.in

index 8374e038784dd9e974302fce266bb252768ddffe..b8e3e4e1957086b9b255e31973dfdb64f8a5206d 100755 (executable)
--- a/pkgmk.in
+++ b/pkgmk.in
@@ -162,7 +162,7 @@ unpack_source() {
        for FILE in ${source[@]}; do
                LOCAL_FILENAME=`get_filename $FILE`
                case $LOCAL_FILENAME in
-                       *.tar.gz|*.tar.Z|*.tgz|*.tar.bz2|*.tar.xz|*.tar.lzma|*.zip|*.rpm)
+                       *.tar.gz|*.tar.Z|*.tgz|*.tar.bz2|*.tbz2|*.tar.xz|*.txz|*.tar.lzma|*.zip|*.rpm)
                                COMMAND="bsdtar -p -o -C $SRC -xf $LOCAL_FILENAME" ;;
                        *)
                                COMMAND="cp $LOCAL_FILENAME $SRC" ;;