Files
OpenDRS/database-update.sh
2026-03-03 08:07:22 -05:00

40 lines
884 B
Bash

#!/bin/bash
# database-update.sh
# OpenLog Online Logbook
# Copyright (C) 2026 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
# -----------------------------------
# ---------- version 1.4.6 ----------
# Nothing to be done
# -----------------------------------
# ---------- version 1.4.7 ----------
# Nothing to be done
# -----------------------------------