search and searchmultilib
This commit is contained in:
parent
58aab2ab6c
commit
4497b3fc59
|
@ -0,0 +1 @@
|
|||
.history
|
11
vbm
11
vbm
|
@ -209,12 +209,10 @@ usage () {
|
|||
t "xbps-query -v -R -x"
|
||||
echo "reverse (rd) <pkg> - Show reverse dependendies of <package> (see man xbps-query)"
|
||||
t "xbps-query -v -R -X"
|
||||
echo "searchall (sa) <name> - Search for package by in all repositories (multilib included) <name>"
|
||||
echo "searchmultilib (sm) <name> - Search for package by in all repositories (multilib included) <name>"
|
||||
t "xbps-query -v -Rs"
|
||||
echo "search (s) <name> - Search for package by <name> (exclude multilib repo)"
|
||||
t "xbps-query -v -Rs"
|
||||
echo "searchexclude (se) <name> - Search for package by <name> (exclude multilib repo)"
|
||||
t "xbps-query -v -Rs"
|
||||
echo "searchfile (sf) <file> - Search for package containing <file> (local)"
|
||||
t "xbps-query -v -o \"*/$1\""
|
||||
echo "whatprovides (wp) <file> - Search for package containing <file>"
|
||||
|
@ -539,7 +537,7 @@ case "$cmd" in
|
|||
xcheckrestart
|
||||
;;
|
||||
|
||||
searchall|sa)
|
||||
searchmultilib|sm)
|
||||
msg -n "Searching for: $* "
|
||||
wrapcommand xbps-query -v -Rs "$*"
|
||||
;;
|
||||
|
@ -549,11 +547,6 @@ case "$cmd" in
|
|||
wrapcommand xbps-query -v -Rs "$*" | grep -v 32bit
|
||||
;;
|
||||
|
||||
searchexclude|se)
|
||||
msg -n "Searching for: $* "
|
||||
wrapcommand xbps-query -v -Rs "$@" | grep -v 32bit
|
||||
;;
|
||||
|
||||
cleanup|clean|cl)
|
||||
msg -n 'Remove obsolete packages in cachedir '
|
||||
rootcheck
|
||||
|
|
Loading…
Reference in New Issue