X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=debian%2Fpostinst;h=d4601aa5dab998243a00cfd07258f703a3cc8b72;hb=4204bc69bb4083303bd61a1fee5ad0824e1c2b8c;hp=deab0dded2c0a2c50db3017672d075abc1b0b676;hpb=b542ed5c3515b13f8a7b5dbf8ce274d7a47ab989;p=pkg%2Fabook.git diff --git a/debian/postinst b/debian/postinst index deab0dd..d4601aa 100644 --- a/debian/postinst +++ b/debian/postinst @@ -54,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