Unverified Commit 624ccc1e authored by Kroese's avatar Kroese Committed by GitHub
Browse files

Fallback

parent dfdd5393
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@ else
  BASE="DSM_VirtualDSM_42962"
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
  . /run/install.sh