1
0
mirror of synced 2024-11-26 23:06:03 +03:00
This commit is contained in:
hwdsl2 2021-03-07 23:38:38 -06:00
parent 8fa3bfac80
commit d54b2ac57a

View File

@ -64,7 +64,6 @@ check_os_type() {
;; ;;
*) *)
exiterr "This script only supports Ubuntu, Debian, CentOS/RHEL 7/8 and Amazon Linux 2." exiterr "This script only supports Ubuntu, Debian, CentOS/RHEL 7/8 and Amazon Linux 2."
exit 1
;; ;;
esac esac
os_ver=$(sed 's/\..*//' /etc/debian_version | tr -dc 'A-Za-z0-9') os_ver=$(sed 's/\..*//' /etc/debian_version | tr -dc 'A-Za-z0-9')