X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/f2ed81b0040b1e5c7c06469a6fb7a12aa4168897..faa0e46d3a10c1aef321ac024a7cb1dc86ee08d4:/INSTALL/Ventoy2Disk.sh?ds=sidebyside diff --git a/INSTALL/Ventoy2Disk.sh b/INSTALL/Ventoy2Disk.sh index a283423..5b1d6f4 100644 --- a/INSTALL/Ventoy2Disk.sh +++ b/INSTALL/Ventoy2Disk.sh @@ -12,10 +12,12 @@ if [ -f ./ventoy/version ]; then curver=$(cat ./ventoy/version) fi -if uname -a | egrep -q 'aarch64|arm64'; then +if uname -m | egrep -q 'aarch64|arm64'; then export TOOLDIR=aarch64 -elif uname -a | egrep -q 'x86_64|amd64'; then +elif uname -m | egrep -q 'x86_64|amd64'; then export TOOLDIR=x86_64 +elif uname -m | egrep -q 'mips64'; then + export TOOLDIR=mips64el else export TOOLDIR=i386 fi