FS#32809 - urbanterror-data wrong path in PKGBUILD for pk3-files

Attached to Project: Community Packages
Opened by mannohneschuh (mannohneschuh) - Friday, 23 November 2012, 00:10 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Saturday, 24 November 2012, 02:25 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
The .pk3-files in urbanterror-data should be in /opt/urbanterror/q3ut4, as urbanterror is expecting them in
this location.
If the files are in the location as in the archive from upstream they are not found by urbanterror:
>$ urbanterror
>ioQ3 1.35urt linux-x86_64 Oct 29 2012
>----- FS_Startup -----
>Current search path:
>/home/mos/.q3a/q3ut4
>/opt/urbanterror/q3ut4
>
>----------------------
>0 files in pk3 files
>Sys_Error: Couldn't load default.cfg
Moving the .pk3 into /opt/urbanterror/q3ut4 makes urbanterror work.

Optionally the maintainer could provide a note to make the user copy these files to his home/.q3a/q3ut4 but
that would mean to copy 1.2GB into /home while they are already in /opt. Symlinking seems no option to me as
it could break downloading custom data (not tried yet).

Additional info:
* package version(s)
urbanterror 2:4.2.007-1
urbanterror-data 2:4.2.007-1

Steps to reproduce:
1st Make a clean install of urbanterror
2nd Start urbanterror

This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Saturday, 24 November 2012, 02:25 GMT
Reason for closing:  Fixed
Comment by Doug Penner (DarwinSurvivor) - Friday, 23 November 2012, 23:07 GMT
As a temporary workaround, symlinking works. Instead of symlinking the whole folder, I just symlinked the files.

Downloads *should* still work as those should be downloaded to your home folder anyways (they will end up beside the symlinks).

Run (as your normal user):
$ ln -s /opt/urbanterror/*.pk3 ~/.q3a/q3ut4/

Loading...