summaryrefslogtreecommitdiff
path: root/debian/prerm.xsane-gimp1.1
diff options
context:
space:
mode:
Diffstat (limited to 'debian/prerm.xsane-gimp1.1')
-rw-r--r--debian/prerm.xsane-gimp1.111
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/prerm.xsane-gimp1.1 b/debian/prerm.xsane-gimp1.1
new file mode 100644
index 0000000..d1beb2d
--- /dev/null
+++ b/debian/prerm.xsane-gimp1.1
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+set -e
+
+if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a \
+ -L /usr/doc/xsane-gimp1.1 ]; then
+ rm -f /usr/doc/xsane-gimp1.1
+ if command -v install-docs >/dev/null 2>&1; then
+ install-docs -r xsane
+ fi
+fi