[debian-edu-commits] debian-edu/ 01/01: Clean up new education-menus.postinst script, remove unneeded () in test.

Petter Reinholdtsen pere at moszumanska.debian.org
Sun Sep 21 12:17:56 UTC 2014


This is an automated email from the git hooks/post-receive script.

pere pushed a commit to branch master
in repository debian-edu.

commit 95ba5beb6dab10867332b7a53073a24f739efa64
Author: Petter Reinholdtsen <pere at hungry.com>
Date:   Sun Sep 21 14:17:52 2014 +0200

    Clean up new education-menus.postinst script, remove unneeded () in test.
---
 debian/changelog                | 4 ++++
 debian/education-menus.postinst | 4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 347b6c8..f01c435 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -24,6 +24,10 @@ debian-edu (1.800~0.git.2014-09-11) unstable; urgency=low
       removal of /var/cache/desktop-profiles/activated_profiles during
       executation of update-profile-cache.
 
+  [ Petter Reinholdtsen ]
+  * Clean up new education-menus.postinst script, remove unneeded () in
+    test.
+
  -- Petter Reinholdtsen <pere at debian.org>  Thu, 11 Sep 2014 14:17:22 +0200
 
 debian-edu (1.724) unstable; urgency=high
diff --git a/debian/education-menus.postinst b/debian/education-menus.postinst
index 77e4369..eafee11 100755
--- a/debian/education-menus.postinst
+++ b/debian/education-menus.postinst
@@ -1,8 +1,8 @@
 #!/bin/sh
 set -e
 
-if  ( test "$1" = "configure" ) && 
-     ( test -x "$(type -p update-profile-cache 2>/dev/null)" ) ); then
+if test "$1" = "configure" && \
+   test -x "$(type -p update-profile-cache 2>/dev/null)" ; then
   update-profile-cache;
 fi;
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/debian-edu.git



More information about the debian-edu-commits mailing list