testing auto updater
All checks were successful
Check scripts syntax / check-scripts-syntax (push) Successful in 3s
All checks were successful
Check scripts syntax / check-scripts-syntax (push) Successful in 3s
This commit is contained in:
@@ -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
|
||||
|
||||
####################
|
||||
|
||||
|
Reference in New Issue
Block a user