diff options
author | Martin Schulze <joey@finlandia.infodrom.north.de> | 2002-03-04 18:50:02 +0100 |
---|---|---|
committer | Mattia Rizzolo <mattia@mapreri.org> | 2014-10-03 14:05:00 +0000 |
commit | 8b372c9248930ae29763202121434d3d676d0f30 (patch) | |
tree | e0c052af107a86192d8b261adbb3e8bba8351c84 /debian/postinst.xsane | |
parent | 2d113e8792747151bf5d830f1a1485f2f951f940 (diff) |
Imported Debian patch 0.50-5.1debian/0.50-5.1
Diffstat (limited to 'debian/postinst.xsane')
-rw-r--r-- | debian/postinst.xsane | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/postinst.xsane b/debian/postinst.xsane new file mode 100644 index 0000000..8ab57e9 --- /dev/null +++ b/debian/postinst.xsane @@ -0,0 +1,11 @@ +#!/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 -a -d /usr/share/doc/xsane ]; then + ln -sf ../share/doc/xsane /usr/doc/xsane + fi + if command -v install-docs >/dev/null 2>&1; then + install-docs -i /usr/share/doc-base/xsane + fi +fi |