dblist added
This commit is contained in:
parent
d4b8b95c2f
commit
2497f084c6
1 changed files with 6 additions and 1 deletions
5
spkg
5
spkg
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue