Skip to content

Commit

Permalink
allow i686 as a supported architecture
Browse files Browse the repository at this point in the history
This is checked during preflight. See mail-in-a-box/mailinabox#885 (#889)
  • Loading branch information
yodax authored and JoshData committed Jul 29, 2016
1 parent e884a1f commit 17605a1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions setup/preflight.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,15 @@ if [ -e ~/.wgetrc ]; then
exit
fi

# Check that we are running on x86_64, any other architecture is unsupported and
# Check that we are running on x86_64 or i686, any other architecture is unsupported and
# will fail later in the setup when we try to install the custom build lucene packages.
#
# Set ARM=1 to ignore this check if you have built the packages yourself. If you do this
# you are on your own!
ARCHITECTURE=$(uname -m)
if [ "$ARCHITECTURE" != "x86_64" ]; then
if [ "$ARCHITECTURE" != "x86_64" ] && [ "$ARCHITECTURE" != "i686" ]; then
if [ -z "$ARM" ]; then
echo "Mail-in-a-Box only supports x86_64 and will not work on any other architecture, like ARM."
echo "Mail-in-a-Box only supports x86_64 or i686 and will not work on any other architecture, like ARM."
echo "Your architecture is $ARCHITECTURE"
exit
fi
Expand Down

0 comments on commit 17605a1

Please sign in to comment.