Sfoglia il codice sorgente

Also check for successful mysql installation

Bob Mottram 8 anni fa
parent
commit
a9756f6baf
1 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  1. 5
    0
      src/freedombone-utils-database

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

@@ -158,6 +158,11 @@ function install_mariadb {
158 158
         exit 54
159 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 166
     mysqladmin -u root password "$MARIADB_PASSWORD"
162 167
     mark_completed $FUNCNAME
163 168
 }