Comment 4 for bug 1123416

Revision history for this message
gregor herrmann (gregoa) wrote : Re: [Bug 1123416] [NEW] raring: tuxguitar doesn't start due to erroneous startup script

On Tue, 12 Feb 2013 20:10:03 -0000, Steve M. wrote:

> When running tuxguitar in 13.04, I get the following error:
> /usr/bin/tuxguitar: 138: /usr/bin/tuxguitar: Syntax error: end of file unexpected (expecting "}")
>
> Adding a '}' in line 98 of /usr/bin/tuxguitar fixed the problem, see the
> attached patch.

FWIW: The packages in Debian and Ubuntu are different, Debian has
1.2-13 in testing and unstable, Ubuntu has 1.2-13ubuntu1 in raring.

The diff can be seen here:
https://patches.ubuntu.com/t/tuxguitar/tuxguitar_1.2-13ubuntu1.patch

It looks like the patch (debian/patches/04-no-mozilla.patch) removes a '}' too much somewhere ...

(And tuxguitar also starts fine on Debian unstable. Although from
looking at the script there seems to be an excess '}' in line 140?)

Maybe having only one shell script for both Debian and Ubuntu
(skipping the Mozilla check when running on Ubuntu) would be easier?
(Using dpkg-vendor etc.)

Cheers,
gregor

--
 .''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer - http://www.debian.org/
 `. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `- NP: Carole King: Carry Your Load