cookutils rev 673 3.4
cook: unsupported arch packages are not broken
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 18 08:08:13 2014 +0000 (2014-04-18) |
parents | 8f0a394d1682 |
children | 5c75485e8406 |
files | cook |
line diff
1.1 --- a/cook Fri Apr 18 08:33:38 2014 +0100 1.2 +++ b/cook Fri Apr 18 08:08:13 2014 +0000 1.3 @@ -306,6 +306,7 @@ 1.4 *.tar) tar xf $SRC/$TARBALL ;; 1.5 *.zip|*.xpi) unzip -o $SRC/$TARBALL ;; 1.6 *.xz) unxz -c $SRC/$TARBALL | tar xf - || tar xf $SRC/$TARBALL 2>/dev/null;; 1.7 + *.7z) 7zr x $SRC/$TARBALL ;; 1.8 *.Z) uncompress -c $SRC/$TARBALL | tar xf - ;; 1.9 *.rpm) rpm2cpio $SRC/$TARBALL | cpio -idm --quiet ;; 1.10 *.run) /bin/sh $SRC/$TARBALL $RUN_OPTS ;; 1.11 @@ -1478,7 +1479,8 @@ 1.12 _ "cook: \$pkg doesn't cook or is not included in: \$ARCH" 1.13 [ "$CROSS_BUGS" ] && _ "bugs: \$CROSS_BUGS" 1.14 _ "Cook skip: \$pkg doesn't cook or is not included in: \$ARCH" | log 1.15 - newline && exit 1 1.16 + sed -i /^${pkg}$/d $broken 1.17 + newline && exit 0 1.18 fi 1.19 1.20 # Skip blocked, 3 lines also for the Cooker.