fix: Skip if bootdisk present

This commit is contained in:
Kroese 2023-11-16 21:47:31 +01:00 committed by GitHub
parent 356acc6c21
commit cf78519849

View file

@ -1,6 +1,8 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -Eeuo pipefail set -Eeuo pipefail
[ -f "$STORAGE/boot.img" ] && return 0
TMP="/boot.img" TMP="/boot.img"
rm -f "$TMP" rm -f "$TMP"