Commit 558b0189 authored by Boris Yumankulov's avatar Boris Yumankulov Committed by Vitaly Lipatov

epm status: fix Rosa and MOS detection (eterbug #17860)

parent f41ada12
......@@ -186,7 +186,7 @@ epm_status_repacked()
#is_installed $pkg || fatal "FIXME: implemented for installed packages as for now"
case $BASEDISTRNAME in
alt|redos|rosafresh|mos|fedora)
alt|redos|rosa*|mos|fedora)
epm_status_validate $pkg || return
local packager="$(epm print field Packager for "$1" 2>/dev/null)"
[ "$packager" = "EPM <support@etersoft.ru>" ] && return 0
......
......@@ -320,7 +320,7 @@ is_repacked_package()
epm status --installed $pkg || return 0
# actually only for ALT, RedOS, Rosa Fresh, MOS Desktop and Fedora
if [ "$(epm print info -s)" != "alt" ] && [ "$(epm print info -s)" != "redos" ] && [ "$(epm print info -s)" != "rosafresh" ] && [ "$(epm print info -s)" != "mos" ] && [ "$(epm print info -s)" != "fedora" ] ; then
if [ "$(epm print info -s)" != "alt" ] && [ "$(epm print info -s)" != "redos" ] && [ "$(epm print info -s)" != "rosa*" ] && [ "$(epm print info -s)" != "mos" ] && [ "$(epm print info -s)" != "fedora" ] ; then
return 0
fi
......
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