Fixed small mistakes in log messages

This commit is contained in:
Pawel Derehajlo
2023-08-22 22:27:48 +02:00
parent dbbeba055f
commit 65fb4203b6
3 changed files with 7 additions and 7 deletions
@@ -1,12 +1,12 @@
#!/usr/bin/with-contenv bash
echo "[mod-swag-auto-uptime-kuma] Installing SWAG auto-uptime-kuma packages"
echo "[mod-auto-uptime-kuma] Installing SWAG auto-uptime-kuma packages"
if ! pip list 2>&1 | grep -q "uptime-kuma-api\|docker"; then
echo "\
docker \
uptime-kuma-api" >> /mod-pip-packages-to-install.list
echo "[mod-swag-auto-uptime-kuma] Successfuly installed packages"
echo "[mod-auto-uptime-kuma] Successfuly installed packages"
else
echo "[mod-swag-auto-uptime-kuma] Packages already installed, skipping..."
echo "[mod-auto-uptime-kuma] Packages already installed, skipping..."
fi
@@ -1,11 +1,11 @@
#!/usr/bin/with-contenv bash
if [ -z "$UPTIME_KUMA_URL" ] || [ -z "$UPTIME_KUMA_USERNAME" ] || [ -z "$UPTIME_KUMA_PASSWORD" ]; then
echo "[mod-swag-auto-uptime-kuma] Missing required environment variables. Please refer to the Readme, skipping..."
echo "[mod-auto-uptime-kuma] Missing required environment variables. Please refer to the Readme, skipping..."
exit 0
fi
echo "[mod-swag-auto-uptime-kuma] Executing SWAG auto-uptime-kuma mod"
echo "[mod-auto-uptime-kuma] Executing SWAG auto-uptime-kuma mod"
scriptPath='/app/auto-uptime-kuma.py'