Update glacier-query.sh

This commit is contained in:
everest 2022-03-10 17:29:47 +00:00 committed by GitHub
parent d7bb7320a0
commit 1ffb79e849
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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