add a - option in packages arch/platform files to tell blacklist package to a given target

This commit is contained in:
Stephan Raue 2009-05-31 23:32:15 +02:00
parent 1f76aa0aeb
commit f40e316aa6
2 changed files with 4 additions and 4 deletions

View File

@ -10,11 +10,11 @@ if [ -z "$1" ]; then
fi
if [ -f $PKG_DIR/arch ]; then
grep -q "$TARGET_ARCH" "$PKG_DIR/arch" || exit 0
grep -q "\-$TARGET_ARCH" "$PKG_DIR/arch" && exit 0
fi
if [ -f $PKG_DIR/platform ]; then
grep -q "$TARGET_PLATFORM" "$PKG_DIR/platform" || exit 0
grep -q "\-$TARGET_PLATFORM" "$PKG_DIR/platform" && exit 0
fi
unset INSTALL

View File

@ -10,11 +10,11 @@ if [ -z "$1" ]; then
fi
if [ -f $PKG_DIR/arch ]; then
grep -q "$TARGET_ARCH" "$PKG_DIR/arch" || exit 0
grep -q "\-$TARGET_ARCH" "$PKG_DIR/arch" && exit 0
fi
if [ -f $PKG_DIR/platform ]; then
grep -q "$TARGET_PLATFORM" "$PKG_DIR/platform" || exit 0
grep -q "\-$TARGET_PLATFORM" "$PKG_DIR/platform" && exit 0
fi
if [ -d $PKG_DIR/init.d ]; then