Commit a40d2448 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play common.sh: use is_repacked for --installed

parent 306cefd6
......@@ -161,11 +161,11 @@ is_repacked_package()
[ -n "$pkg" ] || pkg="$PKGNAME"
[ -n "$pkg" ] || return 0 #fatal "is_repacked_package() is called without package name"
epm status --installed $pkg || return 0
# actually only for ALT
[ "$(epm print info -s)" = "alt" ] || return 0
epm status --installed $pkg || return 0
[ -n "$force" ] && return 0
if epm status --original $pkg ; then
......@@ -225,7 +225,8 @@ case "$1" in
exit
;;
"--installed")
epm installed $PKGNAME
#epm installed $PKGNAME
is_repacked_package $PKGNAME
exit
;;
"--installed-version")
......
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