Incorporate changes made for old version 5.2.4.3
This commit is contained in:
31
database-update.sh
Executable file
31
database-update.sh
Executable file
@@ -0,0 +1,31 @@
|
||||
#!/bin/bash
|
||||
|
||||
# database-update.sh
|
||||
# OpenLog Online Logbook
|
||||
# Copyright (C) 2025 Rod Wright
|
||||
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
|
||||
|
||||
if [[ $1 == "" ]]
|
||||
then
|
||||
echo "This script requires a mysql options file, but none was specified. Aborting."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
mysql_opt_file=$1
|
||||
if [[ ! -f $mysql_opt_file ]]
|
||||
then
|
||||
echo "The mysql options file specified does not exist. Aborting."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
margs="--defaults-extra-file=$mysql_opt_file"
|
||||
|
||||
# ---------- version x.x.x ----------
|
||||
# Nothing to be done for versions prior to 5.2.4.3
|
||||
# -----------------------------------
|
||||
|
||||
# ---------- version 5.2.4.3 ----------
|
||||
# Nothing to do
|
||||
# -------------------------------------
|
||||
Reference in New Issue
Block a user