That's the version being served by the download URL. The NoMAD team likely needs to update the pkg installer at that location for download.
Ya it looks like they have https://nomad.menu/download/NoMAD.pkg for the address in the script and it's now https://files.nomad.menu/NoMAD.zip based off of the download link on their site. So maybe just change the URL to match in the script with the new one.
@boberito that's a different file download of the .app, not as a packaged .pkg. They maintain the .pkg download for AutoPkg purposes. I think they just need to update it. Would recommend you file an issue with NoMAD (maybe in the #nomad channel on Slack) and ask if they are planning on updating the .pkg download.
sorry here's the correct then https://files.nomad.menu/NoMAD.pkg - they have 2 links on their site...I copied and pasted the wrong one.
@brysontyrrell just accepted my PR to merge the change for the new URL. Please test it out and let us know if it works.
There may be a change coming that will allow the override of the URL with a variable in the event that the URL changes again in the future.
That change is here: https://github.com/jamfit/NoMAD-Installer/pull/9
I'd ask that those who use this script review and comment.