This commit is contained in:
Kroese 2023-04-16 16:16:33 +02:00 committed by GitHub
parent ab89adffe3
commit 63f7633dc4

View File

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