feat: os_not_supported function
This commit is contained in:
commit
20b5e1c335
6
quickget
6
quickget
|
@ -3662,6 +3662,12 @@ fi
|
||||||
|
|
||||||
LANGS=()
|
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() {
|
os_path_error() {
|
||||||
echo "ERROR! You must specify path."
|
echo "ERROR! You must specify path."
|
||||||
os_error
|
os_error
|
||||||
|
|
Loading…
Reference in New Issue