Update install.sh

This commit is contained in:
Kroese 2024-05-11 16:22:03 +02:00 committed by GitHub
parent fd98941715
commit 9b5eeae7e6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,19 +7,6 @@ FB="falling back to manual installation!"
ETFS="boot/etfsboot.com"
EFISYS="efi/microsoft/boot/efisys_noprompt.bin"
hasDisk() {
[ -b "/disk1" ] && return 0
[ -b "/dev/disk1" ] && return 0
[ -b "${DEVICE:-}" ] && return 0
if [ -s "$STORAGE/data.img" ] || [ -s "$STORAGE/data.qcow2" ]; then
return 0
fi
return 1
}
startInstall() {
html "Starting $APP..."