Bug#601859: wesnoth-1.9: Bad error handling in postinst script
PJ Weisberg
pjweisberg at gmail.com
Wed Nov 3 07:41:03 UTC 2010
Package: wesnoth-1.9
Version: 1:1.9.1-1
Severity: normal
Yes, I was very suspicious when I opened up the postinst script to try to
figure out why it failed. It says "if [ $? != 0 ]; then" in a couple of
places, but $? can NEVER be != to 0, because the 'set -e' at the top would
cause the script to die immediately if that happened.
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (101, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages wesnoth-1.9 depends on:
pn wesnoth-1.9-aoi <none> (no description available)
pn wesnoth-1.9-core <none> (no description available)
ii wesnoth-1.9-data 1:1.9.1-1 data files for Wesnoth (branch 1.9
pn wesnoth-1.9-did <none> (no description available)
pn wesnoth-1.9-dm <none> (no description available)
pn wesnoth-1.9-dw <none> (no description available)
pn wesnoth-1.9-ei <none> (no description available)
pn wesnoth-1.9-httt <none> (no description available)
pn wesnoth-1.9-l <none> (no description available)
pn wesnoth-1.9-low <none> (no description available)
pn wesnoth-1.9-nr <none> (no description available)
pn wesnoth-1.9-sof <none> (no description available)
pn wesnoth-1.9-sotbe <none> (no description available)
pn wesnoth-1.9-thot <none> (no description available)
pn wesnoth-1.9-trow <none> (no description available)
pn wesnoth-1.9-tsg <none> (no description available)
pn wesnoth-1.9-ttb <none> (no description available)
pn wesnoth-1.9-utbs <none> (no description available)
Versions of packages wesnoth-1.9 recommends:
ii wesnoth-1.9-music 1:1.9.1-1 music files for Wesnoth (branch 1.
wesnoth-1.9 suggests no packages.
-- no debconf information
More information about the Pkg-games-devel
mailing list