Update glacier-cache-clear.sh

This commit is contained in:
everest 2022-03-29 16:19:26 +00:00 committed by GitHub
parent f27646242a
commit afeddfdeda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,5 +9,5 @@ if [[ $(/usr/bin/id -u) -ne 0 ]]; then
fi
echo "[ i ] Clearing cache..."
rm -rf /var/cache/glacier
cd /var/cache/glacier && rm *.tar.gz
echo "[ i ] Cache was cleared."