Update glacier-cache-install.sh
This commit is contained in:
parent
3eaa78fc18
commit
81b2247840
@ -2,6 +2,10 @@
|
||||
# glacier-cache-install
|
||||
# Script used to install cached packages
|
||||
|
||||
# Glacier preloading
|
||||
|
||||
source /etc/glacier.conf
|
||||
|
||||
# Require the script to be run as root
|
||||
if [[ $(/usr/bin/id -u) -ne 0 ]]; then
|
||||
echo "[ X ] Please run Glacier as root."
|
||||
|
Loading…
Reference in New Issue
Block a user