[packman] Re: [PM] urbanterror 4.1 (openSUSE 10.3/noarch)

Toni toni at links2linux.de
Tue May 27 07:52:48 CEST 2008

Am Dienstag, 27. Mai 2008 schrieb Scott Jones:
> There seems to be minor error in /usr/bin/urbanterror:
> if [ ! -f $HOME/.q3a/UrbanTerror-4.1.autodl ]; then
> should be
> if [ -f $HOME/.q3a/UrbanTerror-4.1.autodl ]; then
> otherwise it bails with an error because it's unable to delete
> $HOME/.q3a/q3ut4/zpak000.pk3
yes and no :)

the idea behind:
assuming you had 4.0 installed, so I want to trigger the redownload of 4.1.
and the "download" mark $HOME/.q3a/UrbanTerror-4.1.autodl was intruduced for 
4.1, that's the reason there was (is) no test for 

In your case: you have started with 4.1, so the rm command prints a error 
message of a non existing file. This message should be supressed. But its 
printed only once and after a succesful download the file 
$HOME/.q3a/UrbanTerror-4.1.autodl is created an the message should not be 
printed for the second start.

Thx for reporting, I'll rethink about the logic.

have fun

More information about the Packman mailing list