Package: rocksndiamonds
Version: 3.2.6.1+dfsg1-5
Severity: important
Tags: patch

The postinst script does not download any game data files after 
configuring if /bin/sh is linked to /bin/dash;  the check for the
update-menus command uses a bash-only construct ("&>") to redirect both 
stdout and stderr.


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-skua
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages rocksndiamonds depends on:
ii  debconf [debconf-2.0]      1.5.28        Debian configuration management sy
ii  libc6                      2.10.1-7      GNU C Library: Shared libraries
ii  libsdl-image1.2            1.2.8-1       image loading library for Simple D
ii  libsdl-mixer1.2            1.2.8-6+b1    mixer library for Simple DirectMed
ii  libsdl-net1.2              1.2.7-2       network library for Simple DirectM
ii  libsdl1.2debian            1.2.13-5      Simple DirectMedia Layer
ii  p7zip                      4.58~dfsg.1-1 7zr file archiver with high compre
ii  perl-modules               5.10.1-8      Core Perl modules
ii  unzip                      6.0-1         De-archiver for .zip files
ii  wget                       1.12-1.1      retrieves files from the web

rocksndiamonds recommends no packages.

rocksndiamonds suggests no packages.

-- debconf information:
* rocksndiamonds/begin: true
  rocksndiamonds/util_notfound:
  rocksndiamonds/error_download:
* rocksndiamonds/select_games: Legend Of Zelda
--- debian/postinst.in.orig     2009-11-25 21:47:59.184999666 +0100
+++ debian/postinst.in  2009-11-25 21:48:42.496995700 +0100
@@ -212,11 +212,11 @@
 
 if ($ARGV[0] eq 'configure')
 {
-    system 'which update-menus &>/dev/null';
+    system 'which update-menus >/dev/null 2>&1';
     if ($? == 0) 
     {
         print STDERR "Update menu\n";
-        system 'update-menus &> /dev/null';
+        system 'update-menus >/dev/null 2>&1';
     }
 }
 

Reply via email to