Update glacier-query.sh

This commit is contained in:
everest
2022-04-05 15:05:07 +00:00
committed by GitHub
parent 66c7e0beb8
commit de9dbf0918

View File

@@ -4,6 +4,7 @@
echo "[ ? ] Enter package name:" && read input
cat /etc/glacier/pkginfo/$input-pkginfo.json
cat /var/log/glacier/$input.timestamp
if [ "$?" != "0" ]; then
echo "[ X ] Package $input not found!" 1>&2
exit 1