Commit 25c30275 authored by Vitaly Lipatov's avatar Vitaly Lipatov

distr_info: add full-version to pretty output (if missed)

parent 2743d3f2
...@@ -787,6 +787,10 @@ print_pretty_name() ...@@ -787,6 +787,10 @@ print_pretty_name()
PRETTY_NAME="$DISTRIB_ID $DISTRIB_RELEASE" PRETTY_NAME="$DISTRIB_ID $DISTRIB_RELEASE"
fi fi
if ! echo "$PRETTY_NAME" | grep -q "$DISTRIB_FULL_RELEASE" ; then
PRETTY_NAME="$PRETTY_NAME ($DISTRIB_FULL_RELEASE)"
fi
echo "$PRETTY_NAME" echo "$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