Commit f252414a authored by Kroese's avatar Kroese Committed by GitHub
Browse files

Refactor

parent 76be4f69
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
#!/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..."