mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-11-22 02:17:26 +00:00
allow i686 as a supported architecture
This is checked during preflight. See https://github.com/mail-in-a-box/mailinabox/issues/885 (#889)
This commit is contained in:
parent
cbc4bf553d
commit
9c8f2e75fc
@ -47,15 +47,15 @@ if [ -e ~/.wgetrc ]; then
|
|||||||
exit
|
exit
|
||||||
fi
|
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.
|
# 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
|
# Set ARM=1 to ignore this check if you have built the packages yourself. If you do this
|
||||||
# you are on your own!
|
# you are on your own!
|
||||||
ARCHITECTURE=$(uname -m)
|
ARCHITECTURE=$(uname -m)
|
||||||
if [ "$ARCHITECTURE" != "x86_64" ]; then
|
if [ "$ARCHITECTURE" != "x86_64" ] && [ "$ARCHITECTURE" != "i686" ]; then
|
||||||
if [ -z "$ARM" ]; 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"
|
echo "Your architecture is $ARCHITECTURE"
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user