Update glacier-query.sh
This commit is contained in:
parent
66c7e0beb8
commit
de9dbf0918
@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
echo "[ ? ] Enter package name:" && read input
|
echo "[ ? ] Enter package name:" && read input
|
||||||
cat /etc/glacier/pkginfo/$input-pkginfo.json
|
cat /etc/glacier/pkginfo/$input-pkginfo.json
|
||||||
|
cat /var/log/glacier/$input.timestamp
|
||||||
if [ "$?" != "0" ]; then
|
if [ "$?" != "0" ]; then
|
||||||
echo "[ X ] Package $input not found!" 1>&2
|
echo "[ X ] Package $input not found!" 1>&2
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
Reference in New Issue
Block a user