Commit e385f7d8 authored by Vitaly Lipatov's avatar Vitaly Lipatov

distr_info: add initial support for OpenMandrivaLx

parent 5adcc341
......@@ -153,7 +153,7 @@ case $DISTRIB_ID in
Mandriva)
CMD="urpm-rpm"
;;
ROSA)
ROSA|NAME="OpenMandrivaLx")
CMD="urpm-rpm"
is_command yum && CMD="yum-rpm"
is_command dnf && CMD="dnf-rpm"
......@@ -492,6 +492,10 @@ case "$DISTRIB_ID" in
DISTRIB_FULL_RELEASE="$DISTRIB_CODENAME"
DISTRIB_CODENAME="$DISTRIB_RELEASE"
;;
"OpenMandrivaLx")
echo "$PRETTY_NAME" | grep -q "Cooker" && DISTRIB_RELEASE="Cooker"
echo "$PRETTY_NAME" | grep -q "Rolling" && DISTRIB_RELEASE="Rolling"
;;
esac
......
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