Commit 1745126b authored by Boris Yumankulov's avatar Boris Yumankulov Committed by Vitaly Lipatov

epm status: Add MOS Desktop support (eterbug #17411)

parent 20a1997d
......@@ -157,7 +157,7 @@ epm_status_original()
echo "$release" | grep -q "el7" || return 1
return 0
;;
ROSAFresh)
ROSAFresh|MOSDesktop)
epm_status_validate $pkg || return 1
epm_status_repacked $pkg && return 1
......@@ -178,7 +178,7 @@ epm_status_repacked()
#is_installed $pkg || fatal "FIXME: implemented for installed packages as for now"
case $BASEDISTRNAME in
alt|redos|rosafresh)
alt|redos|rosafresh|mos)
epm_status_validate $pkg || return
local packager="$(epm print field Packager for "$1" 2>/dev/null)"
[ "$packager" = "EPM <support@etersoft.ru>" ] && return 0
......@@ -219,7 +219,7 @@ epm_status_thirdparty()
echo "$distribution" | grep -q "^EEPM" && return 1
return 0
;;
rosafresh)
rosafresh|mos)
epm_status_validate $pkg || return 1
echo "$distribution" | grep -q "^ROSA" && return 1
......
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