The following commit has been merged in the master branch:
commit 4f31888a9a50eec3d5a3aaf6cafcd3685f69d045
Author: Dmitry E. Oboukhov <[email protected]>
Date:   Sun Nov 29 14:00:14 2009 +0300

    bashizm in postinst

diff --git a/debian/changelog b/debian/changelog
index 2b3000c..9de204c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+rocksndiamonds (3.2.6.1+dfsg1-6) unstable; urgency=low
+
+  * Fixed bashizm in postinst-script, thanks for
+    Michael Klein <[email protected]>,
+    closes: #558005.
+
+ -- Dmitry E. Oboukhov <[email protected]>  Sun, 29 Nov 2009 13:58:15 +0300
+
 rocksndiamonds (3.2.6.1+dfsg1-5) unstable; urgency=low
 
   * Updated Vietnamese translations, closes: #547807,
diff --git a/debian/postinst.in b/debian/postinst.in
index 22f70db..2885f69 100644
--- a/debian/postinst.in
+++ b/debian/postinst.in
@@ -212,11 +212,11 @@ sub clean_downloads_dir()
 
 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';
     }
 }
 

-- 
Arcade style game

_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits

Reply via email to