소스 검색

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