network/seahub: Change i486 to i586

This commit is contained in:
fourtysixandtwo 2022-03-18 20:45:58 -06:00 committed by B. Watson
parent d3b90d1b10
commit 9aa4b42908
1 changed files with 3 additions and 2 deletions

View File

@ -35,7 +35,7 @@ PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@ -53,7 +53,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ] || [ "$ARCH" = "i686" ]; then
if [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ]; then
#source is i386, do not change
SRCARCH="i386"
elif [ "$ARCH" = "x86_64" ]; then
SRCARCH="x86-64"