Template
Update UPDATE-GLACIER.sh
This commit is contained in:
1 parent
25ae7889bb
commit
5ab3b73ec0
1 file changed
+6
@@ -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
|
||||
|
||||
Reference in new issue
Block a user