Commit 144b4b88 authored by Vitaly Lipatov's avatar Vitaly Lipatov

distr_info: user HOME_URL if BUG_REPORT_URL is empty

parent 99cb08db
...@@ -376,6 +376,7 @@ if distro os-release ; then ...@@ -376,6 +376,7 @@ if distro os-release ; then
DISTRIB_RELEASE="$VERSION_ID" DISTRIB_RELEASE="$VERSION_ID"
[ -n "$DISTRIB_RELEASE" ] || DISTRIB_RELEASE="CUR" [ -n "$DISTRIB_RELEASE" ] || DISTRIB_RELEASE="CUR"
[ "$BUILD_ID" = "rolling" ] && DISTRIB_RELEASE="rolling" [ "$BUILD_ID" = "rolling" ] && DISTRIB_RELEASE="rolling"
[ -n "$BUG_REPORT_URL" ] || BUG_REPORT_URL="$HOME_URL"
# set by os-release: # set by os-release:
#PRETTY_NAME #PRETTY_NAME
VENDOR_ID="$ID" VENDOR_ID="$ID"
......
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