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
local string="$1"
case $PMTYPE in
apt-rpm|apt-dpkg)
CMD="apt-cache search"
CMD="apt-cache search --"
;;
urpm-rpm)
CMD="urpmq -y"
CMD="urpmq -y --"
;;
pkgsrc)
CMD="pkg_info -x"
CMD="pkg_info -x --"
;;
emerge)
CMD="emerge --search"
CMD="emerge --search --"
;;
pacman)
CMD="pacman -Ss"
CMD="pacman -Ss --"
;;
aura)
CMD="aura -As"
CMD="aura -As --"
;;
yum-rpm)
CMD="yum search"
CMD="yum search --"
;;
dnf-rpm)
CMD="dnf search"
CMD="dnf search --"
;;
zypper-rpm)
CMD="zypper search"
CMD="zypper search --"
;;
mpkg)
CMD="mpkg search"
......@@ -65,7 +65,7 @@ case $PMTYPE in
slackpkg)
# FIXME
echo "Note: case sensitive search"
CMD="/usr/sbin/slackpkg search"
CMD="/usr/sbin/slackpkg search --"
;;
homebrew)
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