We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e9dd7f commit 2543538Copy full SHA for 2543538
base/xx-info
@@ -123,9 +123,14 @@ if [ -z "$XX_VENDOR" ]; then
123
if [ -z "$XX_VENDOR" ]; then
124
XX_VENDOR="unknown"
125
fi
126
- if [ "$XX_VENDOR" != "unknown" ] && [ "$XX_VENDOR" != "debian" ]; then
127
- vendor="-${XX_VENDOR}"
128
- fi
+ case "$XX_VENDOR" in
+ unknown | debian | ubuntu | rhel | fedora | centos | rocky | ol)
+ # noop
129
+ ;;
130
+ *)
131
+ vendor="-${XX_VENDOR}"
132
133
+ esac
134
else
135
vendor="-${XX_VENDOR}"
136
0 commit comments