]> git.deb.at Git - pkg/abook.git/blobdiff - debian/postinst
Add debhelper token into maintainers scripts.
[pkg/abook.git] / debian / postinst
index c22ed21e0424e645d4c7d5e05ada9d5176983508..08ca0904995f206c8d5a0da06cd9d78cd16502c9 100644 (file)
@@ -1,7 +1,9 @@
-#!/bin/sh -e
+#!/bin/sh
 # postinst for abook
-# copyright 2003-2009 by Gerfried Fuchs <rhonda@debian.at>
-# Licenced under BSD style
+# 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#