From 8ea91700c9a4080235feca8ec4d4388d8310e09c Mon Sep 17 00:00:00 2001 From: Molly Lau Date: Mon, 12 Jun 2023 17:46:14 +0900 Subject: [PATCH] Update InstallNET.sh --- Linux_reinstall/InstallNET.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Linux_reinstall/InstallNET.sh b/Linux_reinstall/InstallNET.sh index a6f1f88..0ebd97e 100644 --- a/Linux_reinstall/InstallNET.sh +++ b/Linux_reinstall/InstallNET.sh @@ -1860,7 +1860,7 @@ ArchName=`uname -m` [[ -z "$ArchName" ]] && ArchName=$(echo `hostnamectl status | grep "Architecture" | cut -d':' -f 2`) case $ArchName in arm64) VER="arm64";; aarch64) VER="aarch64";; x86|i386|i686) VER="i386";; x86_64) VER="x86_64";; x86-64) VER="x86-64";; amd64) VER="amd64";; *) VER="";; esac # Exchange architecture name -if [[ "$linux_relese" == 'debian' ]] || [[ "$linux_relese" == "ubuntu" ]] || [[ "$linux_relese" == 'kali' ]]; then +if [[ "$linux_relese" == 'debian' ]] || [[ "$linux_relese" == 'ubuntu' ]] || [[ "$linux_relese" == 'kali' ]]; then # In debian 12, the result of "uname -m" is "x86_64"; # the result of "echo `hostnamectl status | grep "Architecture" | cut -d':' -f 2`" is "x86-64" if [[ "$VER" == "x86_64" ]] || [[ "$VER" == "x86-64" ]]; then