summaryrefslogtreecommitdiff
path: root/debian/postinst.xsane-gimp1.1
diff options
context:
space:
mode:
authorMartin Schulze <joey@finlandia.infodrom.north.de>2002-03-04 18:50:02 +0100
committerMattia Rizzolo <mattia@mapreri.org>2014-10-03 14:05:00 +0000
commit8b372c9248930ae29763202121434d3d676d0f30 (patch)
treee0c052af107a86192d8b261adbb3e8bba8351c84 /debian/postinst.xsane-gimp1.1
parent2d113e8792747151bf5d830f1a1485f2f951f940 (diff)
Imported Debian patch 0.50-5.1debian/0.50-5.1
Diffstat (limited to 'debian/postinst.xsane-gimp1.1')
-rw-r--r--debian/postinst.xsane-gimp1.112
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