Pārlūkot izejas kodu

Update InstallNET.sh

MoeClub 4 gadi atpakaļ
vecāks
revīzija
eb3c4875c2
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      InstallNET.sh

+ 1 - 1
InstallNET.sh

@@ -314,7 +314,7 @@ if [[ "$VER" != "arm64" ]] && [[ -n "$tmpVER" ]]; then
   case "$tmpVER" in i386|i686|x86|32) VER="i386";; amd64|x86_64|x64|64) [[ "$Relese" == 'CentOS' ]] && VER='x86_64' || VER='amd64';; *) VER='';; esac
 fi
 
-if [[ -z "$VER" ]]; then
+if [[ ! -n "$VER" ]]; then
   echo "Error! Not Architecture."
   bash $0 error;
   exit 1;