Browse Source

mongodb not available for arm7

Bob Mottram 8 years ago
parent
commit
30f679e7df
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      src/freedombone-utils-mongodb

+ 5
- 0
src/freedombone-utils-mongodb View File

49
 }
49
 }
50
 
50
 
51
 function install_mongodb {
51
 function install_mongodb {
52
+    if [[ "$(uname -a)" == *"armv7"* ]]; then
53
+        echo $'mongodb package is not available for arm 7 architecture'
54
+        exit 7356272
55
+    fi
56
+
52
     if [[ $(is_completed $FUNCNAME) == "1" ]]; then
57
     if [[ $(is_completed $FUNCNAME) == "1" ]]; then
53
         return
58
         return
54
     fi
59
     fi