Incorporated changes for release 1.4.1
This commit is contained in:
37
install.sh
37
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 ""
|
||||
|
||||
Reference in New Issue
Block a user