Refactor
This commit is contained in:
parent
76be4f69de
commit
f252414a02
1 changed files with 1 additions and 4 deletions
|
@ -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..."
|
||||
|
||||
|
|
Loading…
Reference in a new issue