X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=debian%2Fpostinst;h=08ca0904995f206c8d5a0da06cd9d78cd16502c9;hb=b1c882049db5d6d7d5770134cd93e14934ace6c1;hp=c22ed21e0424e645d4c7d5e05ada9d5176983508;hpb=fb0661c596e94ea70479125c57a9cc43dc03a1c9;p=pkg%2Fabook.git diff --git a/debian/postinst b/debian/postinst index c22ed21..08ca090 100644 --- a/debian/postinst +++ b/debian/postinst @@ -1,7 +1,9 @@ -#!/bin/sh -e +#!/bin/sh # postinst for abook -# copyright 2003-2009 by Gerfried Fuchs -# Licenced under BSD style +# copyright 2003-2012 by Gerfried Fuchs +# 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#