Update glacier-cache-install.sh

This commit is contained in:
everest 2022-05-02 16:42:39 +00:00 committed by GitHub
parent 3eaa78fc18
commit 81b2247840
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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."