-#!/bin/sh -e
+#!/bin/sh
# postinst for abook
+# copyright 2003-2012 by Gerfried Fuchs <rhonda@debian.org>
+# Licenced under WTFPLv2
+
+set -e
# Source debconf library.
if [ -e /usr/share/debconf/confmodule ]; then
# menu entry
-if [ "$action" = 'configure' ] && [ -x /usr/bin/update-menus ]; then
+if [ "$action" = 'configure' ] && [ -x "`which update-menus`" ]; then
update-menus
fi
+
+#DEBHELPER#