X-Git-Url: https://git.deb.at/w?a=blobdiff_plain;ds=sidebyside;f=debian%2Fpostinst;h=8002f3b078b03cc1ab7ca70093f3422062e506be;hb=945e1192c53be9845ce4b2381c0673522ef8b6c3;hp=057954df9c81b35caf86493bf80e079e07330465;hpb=535ad70b710dd0f45f044856a69b8256e39051b3;p=pkg%2Fabook.git diff --git a/debian/postinst b/debian/postinst index 057954d..8002f3b 100644 --- a/debian/postinst +++ b/debian/postinst @@ -1,7 +1,9 @@ -#!/bin/sh -e +#!/bin/sh # postinst for abook -# copyright 2003-2008 by Gerfried Fuchs -# Licenced the same way as abook itself +# copyright 2003-2012 by Gerfried Fuchs +# Licenced under WTFPLv2 + +set -e # Source debconf library. if [ -e /usr/share/debconf/confmodule ]; then @@ -52,6 +54,6 @@ fi # menu entry -if [ "$action" = 'configure' ] && [ -x /usr/bin/update-menus ]; then +if [ "$action" = 'configure' ] && [ -x `which update-menus` ]; then update-menus fi