diff options
Diffstat (limited to 'debian/postinst.xsane-gimp1.1')
-rw-r--r-- | debian/postinst.xsane-gimp1.1 | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/postinst.xsane-gimp1.1 b/debian/postinst.xsane-gimp1.1 new file mode 100644 index 0000000..54f80ba --- /dev/null +++ b/debian/postinst.xsane-gimp1.1 @@ -0,0 +1,12 @@ +#!/bin/sh +set -e +if [ -x /usr/bin/update-menus ] ; then update-menus ; fi +if [ "$1" = "configure" ]; then + if [ -d /usr/doc -a ! -e /usr/doc/xsane-gimp1.1 -a \ + -d /usr/share/doc/xsane-gimp1.1 ]; then + ln -sf ../share/doc/xsane-gimp1.1 /usr/doc/xsane-gimp1.1 + fi + if command -v install-docs >/dev/null 2>&1; then + install-docs -i /usr/share/doc-base/xsane + fi +fi |