Bug 160509 - eternal-lands-data-1.3.3 dies if not using music
Bug#: 160509 Product:  Gentoo Linux Version: unspecified Platform: AMD64
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: uberlord@gentoo.org Reported By: rich0@gentoo.org
Component: Games
URL: 
Summary: eternal-lands-data-1.3.3 dies if not using music
Keywords:  
Status Whiteboard: 
Opened: 2007-01-06 16:50 0000
Description:   Opened: 2007-01-06 16:50 0000
games-rpg/eternal-lands-data-1.3.3 now has an || die on line 37 of the ebuild. 
I'm guessing that while this was intended to catch errors moving the music
files, it also gets triggered if the "use music" statement returns false.  I'm
not a python expert but some ()'s would probably help.

Reproducible: Always

------- Comment #1 From Paul Taylor 2007-01-07 10:10:05 0000 -------
I think you're right.  Adding brackets as follows worked for me:

use music && ( mv ../*.ogg ../*.pll music || die )

------- Comment #2 From Roy Marples (RETIRED) 2007-01-07 19:40:04 0000 -------
Fixed, thanks