[type/__localedef] Blacklist OpenBSD and NetBSD

This commit is contained in:
Dennis Camera 2020-11-08 15:24:46 +01:00
parent dcef2c19f5
commit c1c60e3374

View file

@ -127,6 +127,12 @@ in
;;
esac
;;
(netbsd|openbsd)
# NetBSD/OpenBSD are missing localedef(1).
# We also do not delete defined locales because they can't be recreated.
echo "${os} is lacking localedef(1). Locale management unavailable." >&2
exit 1
;;
(*)
echo "Your operating system (${os}) is currently not supported by this type (${__type##*/})." >&2
echo "Please contribute an implementation for it if you can." >&2