Update UPDATE-GLACIER.sh
This commit is contained in:
parent
25ae7889bb
commit
5ab3b73ec0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user