mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-11-26 02:57:04 +00:00
turn the x64/i686 architecture check into a warning since I'm not sure if we have any architecture requirements anymore, beyond what Ubuntu supports
This commit is contained in:
parent
d96613b8fe
commit
bb43a2127c
@ -53,16 +53,14 @@ if [ -e ~/.wgetrc ]; then
|
|||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check that we are running on x86_64 or i686, any other architecture is unsupported and
|
# Check that we are running on x86_64 or i686 architecture, which are the only
|
||||||
# will fail later in the setup when we try to install the custom build lucene packages.
|
# ones we support / test.
|
||||||
#
|
|
||||||
# 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)
|
ARCHITECTURE=$(uname -m)
|
||||||
if [ "$ARCHITECTURE" != "x86_64" ] && [ "$ARCHITECTURE" != "i686" ]; then
|
if [ "$ARCHITECTURE" != "x86_64" ] && [ "$ARCHITECTURE" != "i686" ]; then
|
||||||
if [ -z "$ARM" ]; then
|
echo
|
||||||
echo "Mail-in-a-Box only supports x86_64 or i686 and will not work on any other architecture, like ARM."
|
echo "WARNING:"
|
||||||
echo "Your architecture is $ARCHITECTURE"
|
echo "Mail-in-a-Box has only been tested on x86_64 and i686 platform"
|
||||||
exit
|
echo "architectures. Your architecture, $ARCHITECTURE, may not work."
|
||||||
fi
|
echo "You are on your own."
|
||||||
|
echo
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user