Incorporated changes for release 1.3.2

This commit is contained in:
2026-02-24 20:13:13 -05:00
parent f7b91f4ef0
commit 2bddfba99a
23 changed files with 929 additions and 463 deletions

View File

@@ -7,7 +7,7 @@
# SPDX-License-Identifier: GPL-2.0
DRS_VERSION="1.3.1"
DRS_VERSION="1.3.2"
DOC_ROOT="/var/www"
INSTALL_LOC="opendrs"
APACHE_USER="www-data"
@@ -78,7 +78,7 @@ then
curr_username=`grep username $install_path/db.php | head -1 | cut -d "\"" -f2`
curr_dbpass=`grep dbpass $install_path/db.php | head -1 | cut -d "\"" -f2`
export MYSQL_PWD="$curr_dbpass"
mysqldump -u"$curr_username" $curr_dbname > $curr_dbname-`date +%Y-%m-%d_%H:%M:%S`-backup.sql
mysqldump --no-tablespaces -u"$curr_username" $curr_dbname > $curr_dbname-`date +%Y-%m-%d_%H:%M:%S`-backup.sql
# back up existing installation
echo "Backing up current installation to the package directory."
cp -R $install_path $install_loc_in-`date +%Y-%m-%d_%H:%M:%S`-backup
@@ -169,7 +169,11 @@ else
echo "This can be changed later in the application itself."
echo -n "Installation name [OpenDRS]: "
read new_inst_name
echo ""
if [ "$new_inst_name" = "" ]
then
new_inst_name="OpenDRS"
fi
echo ""
# Create initial database
db_create_fail=1