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
|
||||
grep "${pkgname}" /var/cache/spkg.cache
|
||||
}
|
||||
dblist() {
|
||||
cat /var/cache/spkg.cache
|
||||
}
|
||||
usage() {
|
||||
echo 'sPKG via WGET, to cache, just type in sudo spkg cache save.
|
||||
to install, just type in sudo spkg install.
|
||||
|
@ -87,6 +90,8 @@ case "${1}" in
|
|||
query)
|
||||
dbquery "${5}" ;;
|
||||
esac;;
|
||||
list)
|
||||
dblist ;;
|
||||
esac ;;
|
||||
esac ;;
|
||||
update)
|
||||
|
|
Loading…
Reference in a new issue