From d94747c063e65cb5bbe99246157d76079cc4c252 Mon Sep 17 00:00:00 2001 From: Joshua Ismael Haase Hernández Date: Sat, 25 Jun 2011 11:46:03 -0500 Subject: *fullpkg don't add mipsel on build_only *mipsrelease adds pkgs from pkgdest --- fullpkg | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'fullpkg') diff --git a/fullpkg b/fullpkg index 6e9ea19..ce31dd4 100755 --- a/fullpkg +++ b/fullpkg @@ -398,12 +398,12 @@ if [ ${build_only} == 'n' ]; then usage && exit 1 } -fi - # Add mips64el if missing from arch=() and it isn't an 'any' package -if ! grep mips64el PKGBUILD >/dev/null; then - warning "Adding mips64el arch" - sed -i "s/^\(arch=([^)anym]\+\))/\1 'mips64el')/" "PKGBUILD" + if ! grep mips64el PKGBUILD >/dev/null; then + warning "Adding mips64el arch" + sed -i "s/^\(arch=([^)anym]\+\))/\1 'mips64el')/" "PKGBUILD" + fi + fi # If the queue file isn't writable go into offline mode -- cgit v1.2.3-54-g00ecf