i686 architecture

This commit is contained in:
Bob Mottram 2016-09-06 13:51:56 +01:00
parent 5c231991ac
commit de72aab857
2 changed files with 2 additions and 2 deletions

View File

@ -391,7 +391,7 @@ function mesh_install_ipfs_go {
fi
cd $rootdir$INSTALL_DIR/ipfs
if [[ $ARCHITECTURE == *"386" ]]; then
if [[ $ARCHITECTURE == *"386" || $ARCHITECTURE == *"686" ]]; then
IPFS_ARCH=386
fi
if [[ $ARCHITECTURE == *"amd64" ]]; then

View File

@ -134,7 +134,7 @@ function mesh_upgrade_golang {
chroot "$rootdir" adduser --disabled-login --gecos 'go' go
GOARCH=
if [[ $ARCHITECTURE == *"386" ]]; then
if [[ $ARCHITECTURE == *"386" || $ARCHITECTURE == *"686" ]]; then
GOARCH=386
fi
if [[ $ARCHITECTURE == *"amd64" ]]; then