This commit is contained in:
2023-05-02 22:00:05 -05:00
parent d6e9a63ca8
commit 3c9353b14f
2 changed files with 9 additions and 19 deletions

11
run.sh
View File

@@ -1,13 +1,14 @@
#!/usr/bin/env bash
# MySQL-BU Loader
if [ -f /opt/idssys/settings/mysqlbu.conf ]; then
mv /opt/idssys/settings/mysqlbu.conf /opt/idssys/mysqlbu/settings.conf
fi
source /opt/idssys/defaults/colors.inc
source /opt/idssys/defaults/default.inc
if [ ! -f /opt/idssys/settings/mysqlbu.conf ]; then
source /opt/idssys/mysqlbu/settings.conf
else
source /opt/idssys/settings/mysqlbu.conf
fi
source /opt/idssys/mysqlbu/settings.conf
#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]}"