dblist added

This commit is contained in:
Ohio2 2021-06-30 02:18:42 +02:00
parent d4b8b95c2f
commit 2497f084c6

5
spkg
View file

@ -49,6 +49,9 @@ dblocal() {
pkgname=$1 pkgname=$1
grep "${pkgname}" /var/cache/spkg.cache grep "${pkgname}" /var/cache/spkg.cache
} }
dblist() {
cat /var/cache/spkg.cache
}
usage() { usage() {
echo 'sPKG via WGET, to cache, just type in sudo spkg cache save. echo 'sPKG via WGET, to cache, just type in sudo spkg cache save.
to install, just type in sudo spkg install. to install, just type in sudo spkg install.
@ -87,6 +90,8 @@ case "${1}" in
query) query)
dbquery "${5}" ;; dbquery "${5}" ;;
esac;; esac;;
list)
dblist ;;
esac ;; esac ;;
esac ;; esac ;;
update) update)