Update install.sh
This commit is contained in:
parent
ae89a9bc4c
commit
ea34545b91
1 changed files with 3 additions and 2 deletions
|
|
@ -15,8 +15,9 @@ fi
|
|||
[[ "${VERSION,,}" == "10" ]] && VERSION="win10arm64"
|
||||
[[ "${VERSION,,}" == "win10" ]] && VERSION="win10arm64"
|
||||
|
||||
CUSTOM=$(find "$STORAGE" -maxdepth 1 -type f -iname custom.iso | head -n 1 | xargs basename)
|
||||
[ -z "$CUSTOM" ] && CUSTOM=$(find "$STORAGE" -maxdepth 1 -type f -iname custom.img | head -n 1 | xargs basename)
|
||||
CUSTOM=$(find "$STORAGE" -maxdepth 1 -type f -iname custom.iso -printf "%f\n" | head -n 1)
|
||||
[ -z "$CUSTOM" ] && CUSTOM=$(find "$STORAGE" -maxdepth 1 -type f -iname boot.iso -printf "%f\n" | head -n 1)
|
||||
[ -z "$CUSTOM" ] && CUSTOM=$(find "$STORAGE" -maxdepth 1 -type f -iname custom.img -printf "%f\n" | head -n 1)
|
||||
|
||||
ESD_URL=""
|
||||
TMP="$STORAGE/tmp"
|
||||
|
|
|
|||
Loading…
Reference in a new issue