Alpha 14 is here!

Talk about anything related to Unvanquished.
Unregistered

Re: Alpha 14 is here!

Post by Unregistered »

Here's the cause and a quickfix for curl ERROR 404 Not Found

Cause:

The files are available on SourceForce, the issue is that the script is trying to download the wrong url.

When downloading file map-Eden-b3.pk3, instead of looking on the webserver for "map-Eden-b3.pk3" under base url, it looks for "map-Eden-b3.pk3Â*" (with an extra blank, maybe special character)

Quickfix:

In file /usr/lib/games/unvanquished/download-pk3.sh at line 105, add a tr command to remove the end character (use copy/paste):

Code: Select all

download "$DEST_DIR" "$(basename "$i" | tr -d 'Â*')"
Post Reply