Correctness for operators
This commit is contained in:
parent
261d713f98
commit
b8f0eed80c
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|8) ]]; 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