fr3nd / msxhub-packages

Packages for msxhub.com
4 stars 8 forks source link

Add http status check in tools/build #90

Closed immetoo2 closed 1 year ago

immetoo2 commented 1 year ago

At the moment the www.msx.ch site is down. But when building a package the build is not terminated when the download fails. For example;

- Created tmp directory: /tmp/tmpugq9d7qd
- Downloading http://www.msx.ch/ftp/Products/Graphics9000/put9000.lzh to put9000.lzh...
/tmp/tmpn6r_lww8
- Running script...
mv: cannot stat 'put9000.com': No such file or directory
mv: cannot stat 'put9000.doc': No such file or directory
mv: cannot stat 'put9000.ovl': No such file or directory
mv: cannot stat 'voff.com': No such file or directory
mv: cannot stat 'von.com': No such file or directory
- Checking generated package...
- Generating ZIP file
- Moving package to destination directory...
immetoo2 commented 1 year ago

Moved into https://github.com/fr3nd/msxhub-packages/pull/89