mirror of
https://github.com/leitbogioro/Tools.git
synced 2025-11-10 01:10:30 +08:00
Update InstallNET.sh
This commit is contained in:
parent
6b916cbb13
commit
8ea91700c9
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue