Cleanup
This commit is contained in:
parent
8fa3bfac80
commit
d54b2ac57a
@ -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')
|
||||||
|
Loading…
Reference in New Issue
Block a user