This commit is contained in:
Kroese 2023-04-14 17:28:52 +02:00 committed by GitHub
parent 2783ab874d
commit 47fc86150b

4
run.sh
View File

@ -18,9 +18,7 @@ else
BASE=$(basename "$URL" .pat)
fi
[ ! -f "$IMG/$BASE.boot.img" ] && rm -f "$IMG"/"$BASE".system.img
if [ ! -f "$IMG/$BASE.system.img" ]; then
if [[ ! -f "$IMG/$BASE.boot.img" ]] || [[ ! -f "$IMG/$BASE.system.img" ]]; then
. /run/install.sh
fi