Commit c6b0de24 authored by Vitaly Lipatov's avatar Vitaly Lipatov

set Generic DISTRIB_ID after all

parent 3d66a20a
...@@ -196,7 +196,7 @@ normalize_name() ...@@ -196,7 +196,7 @@ normalize_name()
# Default values # Default values
PRETTY_NAME="" PRETTY_NAME=""
DISTRIB_ID="Generic" DISTRIB_ID=""
DISTRIB_RELEASE="" DISTRIB_RELEASE=""
DISTRIB_CODENAME="" DISTRIB_CODENAME=""
...@@ -410,6 +410,8 @@ elif [ "$(uname -o 2>/dev/null)" = "Cygwin" ] ; then ...@@ -410,6 +410,8 @@ elif [ "$(uname -o 2>/dev/null)" = "Cygwin" ] ; then
DISTRIB_RELEASE="all" DISTRIB_RELEASE="all"
fi fi
[ -n "$DISTRIB_ID" ] || DISTRIB_ID="Generic"
if [ -z "$PRETTY_NAME" ] ; then if [ -z "$PRETTY_NAME" ] ; then
PRETTY_NAME="$DISTRIB_ID $DISTRIB_RELEASE" PRETTY_NAME="$DISTRIB_ID $DISTRIB_RELEASE"
fi 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