Commit 4d93ff62 authored by w4t's avatar w4t

wtserver 0.36

parent 1f6a89c2
......@@ -3,7 +3,7 @@
# Install and configure SQL Server (MySQL or MariaDB)
#---------------------------------------------------------------------
InstallSQLServer() {
local START_TIME=$SECONDS
START_TIME=$(date +%s.%N)
if [ $CFG_SQLSERVER == "MySQL" ]; then
echo -n -e "$IDENTATION_LVL_0 ${BWhite}Installing MySQL${NC}\n"
......@@ -254,6 +254,10 @@ EOF
else
echo -n "${red}No database server installation selected... ${NC}"
fi
MeasureTimeDuration $START_TIME
END_TIME=$(date +%s.%N)
ELAPSED_TIME_SEC=$(echo "$END_TIME - $START_TIME" | bc)
ELAPSED_TIME_MIN=$(echo "scale=2; $ELAPSED_TIME_SEC / 60" | bc)
echo "Time has passed: $ELAPSED_TIME_MIN minutes"
#MeasureTimeDuration $START_TIME
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment