From 30f679e7df82a99ab61c384a1eb4bfd2c77d968a Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 19 Nov 2017 21:06:10 +0000 Subject: [PATCH] mongodb not available for arm7 --- src/freedombone-utils-mongodb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/freedombone-utils-mongodb b/src/freedombone-utils-mongodb index 45ac116a..8569786d 100755 --- a/src/freedombone-utils-mongodb +++ b/src/freedombone-utils-mongodb @@ -49,6 +49,11 @@ function get_mongodb_password { } function install_mongodb { + if [[ "$(uname -a)" == *"armv7"* ]]; then + echo $'mongodb package is not available for arm 7 architecture' + exit 7356272 + fi + if [[ $(is_completed $FUNCNAME) == "1" ]]; then return fi