Update UPDATE-GLACIER.sh

This commit is contained in:
everest 2022-03-09 22:42:35 +00:00 committed by GitHub
parent 25ae7889bb
commit 5ab3b73ec0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,11 @@
#!/bin/sh
# Require the script to be run as root
if [[ $(/usr/bin/id -u) -ne 0 ]]; then
echo "[ X ] Please run Glacier update script as root."
exit
fi
echo "[ i ] Removing outdated binaries..."
rm /bin/glacier-install
rm /bin/glacier-update