Update glacier-cache-install.sh

This commit is contained in:
everest authored and GitHub committed 2022-03-29 11:48:00 +00:00
1 parent f8ef09df29
commit f27646242a
1 file changed
+1 -1
+1 -1
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