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

fix: File support

parent 143a2151
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -301,7 +301,12 @@ rm -rf "$MOUNT"

echo "$BASE" > "$STORAGE"/dsm.ver

if [[ "$URL" == "file://${STORAGE}/${BASE}.pat" ]]; then
  rm -f "$PAT"
else
  mv -f "$PAT" "$STORAGE"/"$BASE".pat
fi

mv -f "$BOOT" "$STORAGE"/"$BASE".boot.img
mv -f "$SYSTEM" "$STORAGE"/"$BASE".system.img