summaryrefslogtreecommitdiff
path: root/community/mongodb/mongodb.install
diff options
context:
space:
mode:
Diffstat (limited to 'community/mongodb/mongodb.install')
-rwxr-xr-xcommunity/mongodb/mongodb.install2
1 files changed, 1 insertions, 1 deletions
diff --git a/community/mongodb/mongodb.install b/community/mongodb/mongodb.install
index 3922c12ef..2ea94553c 100755
--- a/community/mongodb/mongodb.install
+++ b/community/mongodb/mongodb.install
@@ -5,7 +5,7 @@ post_install() {
chown -R mongodb:daemon /var/lib/mongodb
chown -R mongodb:daemon /var/log/mongodb
- if [ "$(arch)" != "x86_64" ]
+ if [ "$(uname -m)" != "x86_64" ]
then
echo '==> Warning: the 32 bit version of MongoDB is limited to about 2GB of data.'
echo '==> See http://blog.mongodb.org/post/137788967/32-bit-limitations'