Update install.sh

This commit is contained in:
Kroese 2024-05-22 11:23:41 +02:00 committed by GitHub
parent 4841044e6d
commit 0299c1a30d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,17 +7,6 @@ FB="falling back to manual installation!"
ETFS="boot/etfsboot.com" ETFS="boot/etfsboot.com"
EFISYS="efi/microsoft/boot/efisys_noprompt.bin" EFISYS="efi/microsoft/boot/efisys_noprompt.bin"
hasDisk() {
[ -b "/disk1" ] && return 0
[ -b "/dev/disk1" ] && return 0
[ -b "${DEVICE:-}" ] && return 0
[ -s "$STORAGE/data.img" ] && return 0
[ -s "$STORAGE/data.qcow2" ] && return 0
return 1
}
skipInstall() { skipInstall() {
local iso="$1" local iso="$1"