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