testing auto updater
All checks were successful
Check scripts syntax / check-scripts-syntax (push) Successful in 3s

This commit is contained in:
2024-12-28 21:30:00 -03:00
parent a60b3a55a6
commit c038e372d9
2 changed files with 22 additions and 12 deletions

View File

@@ -1,11 +1,15 @@
#!/bin/bash
### AUTO-UPDATER ###
FILE_NAME="docker-updater.sh"
export FILE_NAME="docker-updater.sh"
SERVER_AU="https://git.ivanch.me/ivanch/server-scripts/raw/branch/main/auto-updater.sh"
# Run auto-updater script
curl -sSL $SERVER_AU | bash
UPDATER=$(curl -sSL $SERVER_AU | bash)
if [ $? -eq 2 ]; then
exit 0
fi
####################