Update run.sh

This commit is contained in:
2022-04-28 20:44:49 -05:00
parent 51d73fa893
commit 9148e87385

3
run.sh
View File

@@ -9,6 +9,7 @@ else
source /opt/idssys/settings/mysqlbu.conf source /opt/idssys/settings/mysqlbu.conf
fi fi
#if [ "$1" != "backup" ]; then #if [ "$1" != "backup" ]; then
if curl -s --head --request GET https://git.schroedercity.com | grep "HTTP/2 200" > /dev/null; then
echo -en "${idsCL[LightCyan]}Checking for updates...${idsCL[Default]}" echo -en "${idsCL[LightCyan]}Checking for updates...${idsCL[Default]}"
echo "" echo ""
cd /opt/idssys/defaults cd /opt/idssys/defaults
@@ -34,6 +35,6 @@ fi
echo -en "\e[1A"; echo -en "\e[1A";
echo -e "\e[0K\r ${idsCL[Green]}Updates Completed${idsCL[Default]}" echo -e "\e[0K\r ${idsCL[Green]}Updates Completed${idsCL[Default]}"
echo "" echo ""
#fi fi
/opt/idssys/mysqlbu/mysqlbu-scripts.sh $1 $2 $3 $4 /opt/idssys/mysqlbu/mysqlbu-scripts.sh $1 $2 $3 $4
exit 0 exit 0