Commit cfce082e authored by Ivan Ivlev's avatar Ivan Ivlev Committed by Vitaly Lipatov

/bin/epm-packages: show proper list of installed packages, check package status…

/bin/epm-packages: show proper list of installed packages, check package status instead of desired action (eterbug#17932) Signed-off-by: Ivan Ivlev's avatarIvan Ivlev <iviv@etersoft.ru>
parent 72d25c4c
......@@ -121,7 +121,7 @@ case $PMTYPE in
# TODO: ${Architecture}
[ -n "$short" ] && CMD="dpkg-query -W --showformat=\${db:Status-Abbrev}\${Package}\n"
showcmd $CMD "$@"
$CMD "$@" | grep "^i" | sed -e "s|.* ||g" | __fo_pfn "$@"
$CMD "$@" | grep "^.i" | sed -e "s|.* ||g" | __fo_pfn "$@"
return ;;
*-rpm)
warmup_rpmbase
......
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