summaryrefslogtreecommitdiff
path: root/debian/prerm.xsane-gimp1.1
blob: d1beb2d4bc2dd98feb4a9070022fb0c0c8d3a597 (plain)
1
2
3
4
5
6
7
8
9
10
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