From 467e1211dad8554610b3e4572911dc075dbd2dc2 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 17 May 2017 10:04:43 +0200 Subject: bin/common-functions: add i486 to the architecture list --- bin/common-functions | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bin') diff --git a/bin/common-functions b/bin/common-functions index c2fa39e..c072612 100755 --- a/bin/common-functions +++ b/bin/common-functions @@ -22,6 +22,7 @@ find_pkgbuild() { for repo in "${!repo_paths[@]}"; do if [ "${repo}" == "archlinux32" ]; then + # this is not a repository of packages continue fi if ! [ -d "${repo_paths["${repo}"]}/$1" ]; then @@ -37,6 +38,8 @@ find_pkgbuild() { )" if [ -n "${PKGBUILD}" ]; then echo "${PKGBUILD}" + # add i486 to the arch list + sed '/^arch=[^#]*any/!s|^\(arch=(\)\([^#]*)\)\s*\(#.*\)\?$|\1i486 \2|' -i "${PKGBUILD}" if [ -f "${repo_paths["archlinux32"]}/$2/$1/PKGBUILD" ] && \ [ ! -f "${PKGBUILD}.changes-applied" ]; then # If this package has modifications (or is new), apply them now: -- cgit v1.2.3-54-g00ecf