Incorporated changes for release 1.4.5

This commit is contained in:
2026-02-24 21:09:59 -05:00
parent 1d26b8bfed
commit 0bc6d684c1
14 changed files with 350 additions and 474 deletions

79
files-update.sh Normal file
View File

@@ -0,0 +1,79 @@
#!/bin/bash
# files-update.sh
if [[ $1 == "" ]]
then
echo "This script requires an install path, but none was specified. Aborting."
exit 1
fi
install_path=$1
# ---------- version 1.0.0 -------------
# Initial release
# --------------------------------------
# ---------- version 1.1.0 -------------
# Change global database value from $mts_db to $drs_db
sed -i "s/mts_db/drs_db/g" $install_path/db.php
# ---------------------------------------
# ---------- version 1.1.1 -------------
# Nothing to do for this version
# --------------------------------------
# ---------- version 1.1.2 -------------
# Nothing to do for this version
# --------------------------------------
# ---------- version 1.2.0 -------------
# Nothing to do for this version
# --------------------------------------
# ---------- version 1.3.0 -------------
# Nothing to do for this version
# --------------------------------------
# ---------- version 1.3.1 -------------
# Nothing to do for this version
# --------------------------------------
# ---------- version 1.3.2 -------------
# Nothing to do for this version
# --------------------------------------
# ---------- version 1.3.3 -------------
# Nothing to do for this version
# --------------------------------------
# ---------- version 1.4.0 -------------
# Nothing to do for this version
# --------------------------------------
# ---------- version 1.4.1 -------------
# Nothing to do for this version
# --------------------------------------
# ---------- version 1.4.2 -------------
# Nothing to do for this version
# --------------------------------------
# ---------- version 1.4.3 -------------
# Nothing to do for this version
# --------------------------------------
# ---------- version 1.4.4 -------------
# Nothing to do for this version
# --------------------------------------
# ---------- version 1.4.5 -------------
# Add AllowOverride Options to the apache conf-available file
install_loc=$(basename $install_path)
if ! grep -q "AllowOverride Options" /etc/apache2/conf-available/$install_loc.conf
then
sed -i '/^<Directory/a\ AllowOverride Options' /etc/apache2/conf-available/$install_loc.conf
systemctl reload apache2
fi
# --------------------------------------