Преглед на файлове

fix bug of ! near check of system.

huni преди 1 година
родител
ревизия
925d28495a
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      scripts/setup.sh

+ 1 - 1
scripts/setup.sh

@@ -10,7 +10,7 @@ case "$(uname -s)" in
         exit 1
       fi
     else
-      if [[ ! "$(cat /etc/*-release | grep '^ID=')" =~ ^(ID=\"ubuntu\")|(ID=\"centos\")|(ID=\"arch\")|(ID=\"debian\")$ ]]; then
+      if [[ !"$(cat /etc/*-release | grep '^ID=')" =~ ^(ID=\"ubuntu\")|(ID=\"centos\")|(ID=\"arch\")|(ID=\"debian\")$ ]]; then
         echo "Unsupported Linux distribution."
         exit 1
       fi