[packman] [PM] sauerbraten 2008_06_17-0.pm.1 (openSUSE 11.0/i586)

Toni toni at links2linux.de
Mon Jul 21 20:34:34 CEST 2008


Am Montag, 21. Juli 2008 schrieb Andrea Florio:
> hi toni..there is a problem with souerbraten:
>
> anubis at HP-Linux:~> sauerbraten.sh
> init: sdl
> init: enet
> init: video: mode
> init: video: misc
> init: gl
> Renderer: GeForce 8400M GS/PCI/SSE2 (NVIDIA Corporation)
> Driver: 2.1.2 NVIDIA 173.14.09
> Rendering using the OpenGL 1.5 GLSL shader path.
> could not load texture data/notexture.png
> could not find core textures
> anubis at HP-Linux:~> rpm -qa *sauerbraten*
> sauerbraten-2008_06_17-0.pm.1
> sauerbraten-server-2008_06_17-0.pm.1
> sauerbraten-data-2008_06_17-0.pm.1
>
>
> i think to had found the problem...infact on my home i have that.
>
> anubis at HP-Linux:~/.sauerbraten> ls -ls
> totale 0
> 0 lrwxrwxrwx 1 anubis users 30 20 lug 21:55 * ->
> /usr/share/games/sauerbraten/*
> 0 lrwxrwxrwx 1 anubis users 35 20 lug 21:55 sauer_client ->
> /usr/games/sauerbraten/sauer_client
> 0 lrwxrwxrwx 1 anubis users 35 20 lug 21:55 sauer_server ->
> /usr/games/sauerbraten/sauer_server
>
>
> look * simlink to be wrong.
hm, seems you have launched the sauerbraten.sh script BEFORE you installed the 
data-files.

the script contains:
# startscripts
%__cat > %{name}.sh <<EOF
#!/bin/sh
CUBE_DIR=\$HOME/.%{name}
if [ ! -d \$CUBE_DIR ]; then
	mkdir -p \$CUBE_DIR
	cd \$CUBE_DIR
	ln -s %{_prefix}/games/%{name}/*  .
	ln -s %{_datadir}/games/%{name}/* .
	rm servers.cfg 2> /dev/null
fi
cd \$CUBE_DIR
exec ./sauer_client \$*
EOF

so the "*" symlink for the was called on  a non-existent/empty directory.
I'll rethink the logic to avoid this for the next release.

simply delete your ~/.sauerbraten and call the sauerbraten.sh again, than the 
symlinks should point to the right files.
>
> thanks for fixing



-- 
have fun
Toni




More information about the Packman mailing list