diff options
author | B. Watson <yalhcru@gmail.com> | 2022-03-18 17:30:24 -0400 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2022-03-18 17:30:24 -0400 |
commit | 06765665a18308d71ac9bcb4f328463cc7a24dc0 (patch) | |
tree | de2a2fbba4e212cc9c16eacc230c703ae53c5daa | |
parent | eae115961815be0f444f48a740582fbb60859ec3 (diff) | |
download | sbostuff-06765665a18308d71ac9bcb4f328463cc7a24dc0.tar.gz |
upkg: handle i686 i586 i486 packages
-rwxr-xr-x | upkg | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -34,6 +34,11 @@ if [ -z "$ARCH" ]; then esac fi +case "$ARCH" in + i?86) ARCH="i686 i586 i486 i386" ;; + *) ;; +esac + # if no package name, see if we're in a SlackBuild dir. # if so, install the package for the current dir, if one # exists in $OUTPUT. Read .info file for version number and @@ -60,7 +65,7 @@ if [ -z "$@" ]; then eval $buildline - for myarch in noarch "$ARCH"; do + for myarch in noarch $ARCH; do myglob="$OUTPUT/$PRGNAM-$VERSION-$myarch-$BUILD*.t?z" myfile=$( echo $myglob ) |