dblist added
This commit is contained in:
parent
d4b8b95c2f
commit
2497f084c6
1 changed files with 6 additions and 1 deletions
7
spkg
7
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.
|
||||
|
@ -86,7 +89,9 @@ case "${1}" in
|
|||
dblocal "${5}" ;;
|
||||
query)
|
||||
dbquery "${5}" ;;
|
||||
esac ;;
|
||||
esac;;
|
||||
list)
|
||||
dblist ;;
|
||||
esac ;;
|
||||
esac ;;
|
||||
update)
|
||||
|
|
Loading…
Reference in a new issue