From d9f5e62513d2b11241d45ef5e5ff7855b944f8cd Mon Sep 17 00:00:00 2001 From: Kroese Date: Mon, 22 Apr 2024 13:41:36 +0200 Subject: [PATCH] fix: Ignore read-only image --- src/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/install.sh b/src/install.sh index ff0e925..1454b7c 100644 --- a/src/install.sh +++ b/src/install.sh @@ -344,7 +344,7 @@ startInstall() { magic=$(dd if="$STORAGE/$BASE" seek=0 bs=1 count=1 status=none | tr -d '\000') magic="$(printf '%s' "$magic" | od -A n -t x1 -v | tr -d ' \n')" - if [[ "$magic" == "16" ]] || [ ! -w "$STORAGE/$BASE" ]; then + if [[ "$magic" == "16" ]]; then if hasDisk || [[ "$MANUAL" == [Yy1]* ]]; then return 1