Browse Source

Also check for successful mysql installation

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

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

158
         exit 54
158
         exit 54
159
     fi
159
     fi
160
 
160
 
161
+    if [ ! -f /usr/bin/mysql ]; then
162
+        echo $"ERROR: mariadb-server does not appear to have installed. $CHECK_MESSAGE"
163
+        exit 34672
164
+    fi
165
+
161
     mysqladmin -u root password "$MARIADB_PASSWORD"
166
     mysqladmin -u root password "$MARIADB_PASSWORD"
162
     mark_completed $FUNCNAME
167
     mark_completed $FUNCNAME
163
 }
168
 }