Update glacier-update.sh
This commit is contained in:
parent
b555f13f71
commit
4085450712
@ -2,6 +2,10 @@
|
|||||||
# glacier-update
|
# glacier-update
|
||||||
# Script used to update packages
|
# Script used to update packages
|
||||||
|
|
||||||
|
# Glacier preloading
|
||||||
|
|
||||||
|
source /etc/glacier.conf
|
||||||
|
|
||||||
# Require Glacier to be run as root
|
# Require Glacier to be run as root
|
||||||
if [[ $(/usr/bin/id -u) -ne 0 ]]; then
|
if [[ $(/usr/bin/id -u) -ne 0 ]]; then
|
||||||
printf "\033[1;31m [ $error ] \033[m Please run Glacier as root."
|
printf "\033[1;31m [ $error ] \033[m Please run Glacier as root."
|
||||||
|
Loading…
Reference in New Issue
Block a user