Incorporated changes for release 1.4.5
This commit is contained in:
31
database-update.sh
Normal file
31
database-update.sh
Normal 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 1.4.5
|
||||
# -----------------------------------
|
||||
|
||||
# ---------- version 1.4.5 ----------
|
||||
# Nothing to be done
|
||||
# -----------------------------------
|
||||
Reference in New Issue
Block a user