From 89f7506fa795b09209c01a4c8b3e8778c8cd840b Mon Sep 17 00:00:00 2001 From: Rod Wright Date: Tue, 24 Feb 2026 20:50:13 -0500 Subject: [PATCH] Incorporated changes for release 1.4.1 --- CHANGELOG | 6 ++++++ distfiles/CHANGELOG | 5 +++++ install.sh | 37 +++++++++++++++++++++++++++++++++++++ 3 files changed, 48 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index 458d851..b2478da 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -156,3 +156,9 @@ Changelog - Removed the Raspberry Pi server setup from OpenDRS. Setting up a Raspberry Pi as an OpenDRS server is easily accomplished by the OpenDRS installer. + +1.4.1 - 2024-06-18 + - Updated the installer script (install.sh) to check for and install the + package supplying uuidgen. If uuidgen is not present, the mysql + user would be created with a blank password. + diff --git a/distfiles/CHANGELOG b/distfiles/CHANGELOG index 991a759..3f764e3 100644 --- a/distfiles/CHANGELOG +++ b/distfiles/CHANGELOG @@ -158,3 +158,8 @@ Changelog - Removed the Raspberry Pi server setup from OpenDRS. Setting up a Raspberry Pi as an OpenDRS server is easily accomplished by the OpenDRS installer. + +1.4.1 - 2024-06-18 + - Updated the installer script (install.sh) to check for and install the + package supplying uuidgen. If uuidgen is not present, the mysql + user would be created with a blank password. diff --git a/install.sh b/install.sh index c8403ef..4aeb574 100644 --- a/install.sh +++ b/install.sh @@ -330,6 +330,43 @@ else fi fi echo "" +echo " Checking for uuidgen installation..." +echo "" +if uuidgen 2>&1 +then + echo "" + echo "uuidgen is installed. Continuing." + echo "" +else + echo "" + echo "" + echo "OpenDRS requires uuidgen, but it doesn't seem to be installed." + echo -n "Install it now? [Y/n]: " + read reqinstall + if [ "$reqinstall" = "N" -o "$reqinstall" = "n" ] + then + echo "OpenDRS requires uuidgen, but you have elected not to install it." + echo "Installation cannot continue." + exit 1 + else + echo "" + echo "###################################################################" + echo "" + echo "Proceeding with uuidgen installation" + echo "" + echo "###################################################################" + sleep 3 + apt-get install -y uuid-runtime + echo "" + echo "###################################################################" + echo "" + echo "Finished with uuidgen installation" + echo "" + echo "###################################################################" + sleep 3 + fi +fi +echo "" echo "" echo "Finished checking for and installing prerequisites..." echo ""