Correctness centos version
This commit is contained in:
parent
40a9fb975a
commit
e2e58b20b3
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ function checkOS () {
|
|||
source /etc/os-release
|
||||
if [[ "$ID" = "centos" ]]; then
|
||||
OS="centos"
|
||||
if [[ ! $VERSION_ID == "7" ]]; then
|
||||
if [[ ! $VERSION_ID ~= "7|8" ]]; then
|
||||
echo "⚠️ Your version of CentOS is not supported."
|
||||
echo ""
|
||||
echo "The script only support CentOS 7."
|
||||
|
|
|
|||
Loading…
Reference in a new issue