Update glacier-cache-install.sh

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

View File

@ -10,7 +10,7 @@ fi
echo "[ ? ] Enter package name:" && read input
echo "[ i ] Checking cache for $input.tar.gz"
cd /var/cache/glacier && mv $input.tar.gz /tmp && cd /tmp
cd /var/cache/glacier && cp $input.tar.gz /tmp && cd /tmp
if [ "$?" != "0" ]; then
echo "[ X ] Could not fetch $input.tar.gz from cache." 1>&2
exit 1