summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2023-01-03 23:56:37 -0600
committerWilliam Hubbs <williamh@gentoo.org>2023-01-03 23:56:37 -0600
commite81dfb07f53e817a83e3c3a7c247cdb57a507fdf (patch)
tree7a4f90ce85d55ba7ec78ed8795bd21031e26e856 /make_os_release
parentversion 2.9 (diff)
downloadbaselayout-e81dfb07f53e817a83e3c3a7c247cdb57a507fdf.tar.gz
baselayout-e81dfb07f53e817a83e3c3a7c247cdb57a507fdf.tar.bz2
baselayout-e81dfb07f53e817a83e3c3a7c247cdb57a507fdf.zip
drop OS specific support
This is no longer needed since we have dropped support for *BSD. Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'make_os_release')
-rwxr-xr-xmake_os_release8
1 files changed, 4 insertions, 4 deletions
diff --git a/make_os_release b/make_os_release
index f764309c..8fdba0ee 100755
--- a/make_os_release
+++ b/make_os_release
@@ -1,15 +1,15 @@
#!/bin/sh
-if [ -z "${1}" ] || [ -z "${2}" ]; then
- printf 'usage: %s [os] [version]' "${0##*/}" >&2
+if [ -z "${1}" ]; then
+ printf 'usage: %s [version]' "${0##*/}" >&2
exit 1
fi
cat <<EOF
NAME=Gentoo
ID=gentoo
-PRETTY_NAME="Gentoo ${1}"
+PRETTY_NAME="Gentoo Linux"
ANSI_COLOR="1;32"
HOME_URL="https://www.gentoo.org/"
SUPPORT_URL="https://www.gentoo.org/support/"
BUG_REPORT_URL="https://bugs.gentoo.org/"
-VERSION_ID="${2}"
+VERSION_ID="${1}"
EOF