Skip to content
Snippets Groups Projects
Commit 26e1713c authored by Bob Mottram's avatar Bob Mottram
Browse files

Install mariadb if it isn't already

parent 036cbad8
No related branches found
No related tags found
No related merge requests found
......@@ -168,6 +168,12 @@ function restore_mariadb {
return
fi
fi
if [[ $(is_completed install_mariadb) == "0" ]]; then
function_check install_mariadb
install_mariadb
fi
if [ -d $USB_MOUNT/backup/mariadb ]; then
echo $"Restoring mysql settings"
temp_restore_dir=/root/tempmariadb
......
......@@ -162,6 +162,12 @@ function restore_mariadb {
return
fi
fi
if [[ $(is_completed install_mariadb) == "0" ]]; then
function_check install_mariadb
install_mariadb
fi
if [ -d $SERVER_DIRECTORY/backup/mariadb ]; then
echo $"Restoring MariaDB settings"
temp_restore_dir=/root/tempmariadb
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment