]> git.deb.at Git - pkg/abook.git/blobdiff - debian/postinst
Add debhelper token into maintainers scripts.
[pkg/abook.git] / debian / postinst
index 057954df9c81b35caf86493bf80e079e07330465..08ca0904995f206c8d5a0da06cd9d78cd16502c9 100644 (file)
@@ -1,7 +1,9 @@
-#!/bin/sh -e
+#!/bin/sh
 # postinst for abook
-# copyright 2003-2008 by Gerfried Fuchs <rhonda@debian.at>
-# Licenced the same way as abook itself
+# copyright 2003-2012 by Gerfried Fuchs <rhonda@debian.org>
+# Licenced under WTFPLv2
+
+set -e
 
 # Source debconf library.
 if [ -e /usr/share/debconf/confmodule ]; then
@@ -52,6 +54,8 @@ fi
 
 
 # menu entry
-if [ "$action" = 'configure' ] && [ -x /usr/bin/update-menus ]; then
+if [ "$action" = 'configure' ] && [ -x "`which update-menus`" ]; then
        update-menus
 fi
+
+#DEBHELPER#