Commit 6a6b5404 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-search: add -- before search arg for support search "-some"

parent bc6d1ef7
...@@ -23,31 +23,31 @@ local CMD ...@@ -23,31 +23,31 @@ local CMD
local string="$1" local string="$1"
case $PMTYPE in case $PMTYPE in
apt-rpm|apt-dpkg) apt-rpm|apt-dpkg)
CMD="apt-cache search" CMD="apt-cache search --"
;; ;;
urpm-rpm) urpm-rpm)
CMD="urpmq -y" CMD="urpmq -y --"
;; ;;
pkgsrc) pkgsrc)
CMD="pkg_info -x" CMD="pkg_info -x --"
;; ;;
emerge) emerge)
CMD="emerge --search" CMD="emerge --search --"
;; ;;
pacman) pacman)
CMD="pacman -Ss" CMD="pacman -Ss --"
;; ;;
aura) aura)
CMD="aura -As" CMD="aura -As --"
;; ;;
yum-rpm) yum-rpm)
CMD="yum search" CMD="yum search --"
;; ;;
dnf-rpm) dnf-rpm)
CMD="dnf search" CMD="dnf search --"
;; ;;
zypper-rpm) zypper-rpm)
CMD="zypper search" CMD="zypper search --"
;; ;;
mpkg) mpkg)
CMD="mpkg search" CMD="mpkg search"
...@@ -65,7 +65,7 @@ case $PMTYPE in ...@@ -65,7 +65,7 @@ case $PMTYPE in
slackpkg) slackpkg)
# FIXME # FIXME
echo "Note: case sensitive search" echo "Note: case sensitive search"
CMD="/usr/sbin/slackpkg search" CMD="/usr/sbin/slackpkg search --"
;; ;;
homebrew) homebrew)
CMD="brew search" CMD="brew search"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment