From: Andrew Brouwers Date: Sat, 27 Mar 2010 16:29:04 +0000 (+0100) Subject: Added support for *.rpm source entries in pkgmk. X-Git-Url: http://gitweb/?a=commitdiff_plain;h=e74ba08d64663ed52813933a1a9e35a93ab384f0;p=pkgutils-cross.git Added support for *.rpm source entries in pkgmk. --- diff --git a/pkgmk.in b/pkgmk.in index c7f5432..8374e03 100755 --- 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) + *.tar.gz|*.tar.Z|*.tgz|*.tar.bz2|*.tar.xz|*.tar.lzma|*.zip|*.rpm) COMMAND="bsdtar -p -o -C $SRC -xf $LOCAL_FILENAME" ;; *) COMMAND="cp $LOCAL_FILENAME $SRC" ;;