Commit c6831487 authored by Vitaly Lipatov's avatar Vitaly Lipatov

drop quotes from sudocmd/docmd

parent ae011efe
......@@ -19,7 +19,7 @@
__epm_orphan_altrpm()
{
docmd "apt-cache list-extras"
docmd apt-cache list-extras
}
epm_autoorphans()
......
......@@ -26,7 +26,7 @@ epm_conflicts_files()
case $(get_package_type $pkg_files) in
rpm)
assure_exists rpm
docmd "rpm -q --conflicts -p" $pkg_files
docmd rpm -q --conflicts -p $pkg_files
;;
#deb)
# a= docmd dpkg -I $pkg_files | grep "^ *Depends:" | sed "s|^ *Depends:||g"
......
......@@ -229,7 +229,7 @@ __epm_query_name()
return
;;
npackd)
docmd "npackdcl path --package=$1"
docmd npackdcl path --package=$1
return
;;
conary)
......@@ -281,7 +281,7 @@ __epm_query_shortname()
return
;;
npackd)
docmd "npackdcl path --package=$1"
docmd npackdcl path --package=$1
return
;;
conary)
......
......@@ -144,7 +144,7 @@ docmd_foreach()
#showcmd "$@"
shift
for pkg in "$@" ; do
docmd "$cmd" $pkg
docmd $cmd $pkg
done
}
......
......@@ -45,7 +45,7 @@ run_command_if_exists()
local CMD="$1"
shift
if which "$CMD" 2>/dev/null >/dev/null ; then
docmd "$CMD" "$@"
docmd $CMD "$@"
return 0
fi
return 1
......
......@@ -136,7 +136,7 @@ epm_upgrade()
;;
homebrew)
#CMD="brew upgrade"
docmd "brew upgrade $(brew outdated)"
docmd brew upgrade $(brew outdated)
return
;;
opkg)
......
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