Commit 9a96b10a authored by Vitaly Lipatov's avatar Vitaly Lipatov

distr_info: fix distro-version for ROSAFresh

parent 4997a9fa
......@@ -426,6 +426,7 @@ case "$DISTRIB_ID" in
DISTRIB_CODENAME="$DISTRIB_RELEASE"
;;
"ROSAFresh")
DISTRIB_FULL_RELEASE="$DISTRIB_CODENAME"
DISTRIB_CODENAME="$DISTRIB_RELEASE"
;;
esac
......@@ -839,6 +840,10 @@ print_pretty_name()
PRETTY_NAME="$PRETTY_NAME ($DISTRIB_FULL_RELEASE)"
fi
if ! echo "$PRETTY_NAME" | grep -q "$DISTRIB_RELEASE" ; then
PRETTY_NAME="$PRETTY_NAME ($DISTRIB_RELEASE)"
fi
echo "$(filter_duplicated_words "$PRETTY_NAME")"
}
......
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