MaStr / mkPirateBox

.ipk package that turns your mint OpenWRT into a PirateBox
30 stars 2 forks source link

Invalid piratebox_ws_img - file #29

Closed MaStr closed 11 years ago

MaStr commented 11 years ago

If the download of the image file breaks, the script goes further and leaves and empty / unfinished file behind. This empty file prevent a redownload of this file.

Do a RC-check instead of a file-check for the wget command and remove the img-file if there was a problem.

etc/piratebox.common -- pb_mkpbimg

This issue fits to 0.7 -ext_mnt package too!!!!!!