]> glassweightruler.freedombox.rocks Git - Ventoy.git/blobdiff - INSTALL/VentoyWeb.sh
Update ko_KR.txt (#2038)
[Ventoy.git] / INSTALL / VentoyWeb.sh
index 4c811e00ac464df0eb6a912cf3c1564f8b3ccca8..f06ae066f3f81874cdf88ebc1142e04663f48a6a 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 print_usage() {    
     echo 'Usage:  VentoyWeb.sh [ OPTION ]'   
@@ -27,6 +27,8 @@ if uname -m | egrep -q 'aarch64|arm64'; then
     TOOLDIR=aarch64
 elif uname -m | egrep -q 'x86_64|amd64'; then
     TOOLDIR=x86_64
+elif uname -m | egrep -q 'mips64'; then
+    TOOLDIR=mips64el
 else
     TOOLDIR=i386
 fi
@@ -43,6 +45,7 @@ if [ ! -f ./boot/boot.img ]; then
     if [ -d ./grub ]; then
         echo "Don't run VentoyWeb.sh here, please download the released install package, and run the script in it."
     else
+        echo "Current directory is $PWD"
         echo "Please run under the correct directory!" 
     fi
     exit 1