feat: os_not_supported function

This commit is contained in:
Martin Wimpress 2024-04-16 14:03:24 +01:00
commit 20b5e1c335
No known key found for this signature in database
GPG Key ID: 61DF940515E06DA3
1 changed files with 6 additions and 0 deletions

View File

@ -3662,6 +3662,12 @@ fi
LANGS=()
os_not_supported() {
echo -e "ERROR! ${OS} is not a supported OS.\n"
os_support | fold -s -w "$(tput cols)"
exit 1
}
os_path_error() {
echo "ERROR! You must specify path."
os_error