Correctness for 57 line

This commit is contained in:
Safa Bayar 2019-10-18 01:20:28 -04:00
parent 469a2f9f52
commit 261d713f98

View file

@ -54,11 +54,7 @@ function checkOS () {
source /etc/os-release
if [[ "$ID" = "centos" ]]; then
OS="centos"
<<<<<<< HEAD
if [[ ! $VERSION_ID =~ (7|8) ]]; then
=======
if [[ ! $VERSION_ID ~= "7|8" ]]; then
>>>>>>> e2e58b20b3e962f186ab7556b3a20ca559593724
if [[ ! $VERSION_ID ~= (7|8) ]]; then
echo "⚠️ Your version of CentOS is not supported."
echo ""
echo "The script only support CentOS 7."