From a9756f6baf60b3a35684ae17babf3b99cb010372 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 1 Dec 2016 11:31:26 +0000 Subject: [PATCH] Also check for successful mysql installation --- src/freedombone-utils-database | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/freedombone-utils-database b/src/freedombone-utils-database index 6b1d9ba4..08fd3c74 100755 --- a/src/freedombone-utils-database +++ b/src/freedombone-utils-database @@ -158,6 +158,11 @@ function install_mariadb { exit 54 fi + if [ ! -f /usr/bin/mysql ]; then + echo $"ERROR: mariadb-server does not appear to have installed. $CHECK_MESSAGE" + exit 34672 + fi + mysqladmin -u root password "$MARIADB_PASSWORD" mark_completed $FUNCNAME }