Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mailinabox
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
mailinabox
Commits
f69d6e90
Commit
f69d6e90
authored
Mar 14, 2016
by
Michael Kroes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a preflight check for supported architecture
parent
65add24e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
preflight.sh
setup/preflight.sh
+14
-0
No files found.
setup/preflight.sh
View file @
f69d6e90
...
...
@@ -46,3 +46,17 @@ if [ -e ~/.wgetrc ]; then
echo
"Mail-in-a-Box expects no overrides to wget defaults, ~/.wgetrc exists"
exit
fi
# Check that we are running on x86_64, 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
[
-z
"
$ARM
"
]
;
then
echo
"Mail-in-a-Box only supports x86_64 and will not work on any architecture like ARM."
echo
"Your architecture is
$ARCHITECTURE
"
exit
fi
fi
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment