dblist added

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

7
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.
@ -86,7 +89,9 @@ case "${1}" in
dblocal "${5}" ;; dblocal "${5}" ;;
query) query)
dbquery "${5}" ;; dbquery "${5}" ;;
esac ;; esac;;
list)
dblist ;;
esac ;; esac ;;
esac ;; esac ;;
update) update)