From f252414a02ae6e834c31f7ab2126d11a97d29f9f Mon Sep 17 00:00:00 2001 From: Kroese Date: Fri, 14 Apr 2023 17:45:43 +0200 Subject: [PATCH] Refactor --- install.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/install.sh b/install.sh index d8e0e50..2f1e603 100644 --- a/install.sh +++ b/install.sh @@ -1,11 +1,8 @@ #!/usr/bin/env bash set -eu -IMG="/storage" -[ ! -d "$IMG" ] && echo "Storage folder (${IMG}) not found!" && exit 69 - FILE="$IMG/boot.img" -[ -f "$FILE" ] && return +rm -f "$FILE" echo "Downloading $BOOT..."