diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2019-07-26 07:57:58 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2019-07-26 07:57:58 +0200 |
commit | 126a45896e8a85e9dc4d5e20a0a99ee36eda847f (patch) | |
tree | c25c8a189133fb1b130ed4abd929738bfb992548 /debian/xsane.preinst | |
parent | 8ee193098c71c0c9090719647a2bca579423aee1 (diff) |
Move /usr/share/sane/doc to /usr/share/xsane-common/html
Diffstat (limited to 'debian/xsane.preinst')
-rw-r--r-- | debian/xsane.preinst | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/xsane.preinst b/debian/xsane.preinst new file mode 100644 index 0000000..ae87956 --- /dev/null +++ b/debian/xsane.preinst @@ -0,0 +1,13 @@ +#!/bin/sh + +set -e + +HTMLDOCDIR=/usr/share/doc/xsane/html + +if [ -d "$HTMLDOCDIR" ] && [ -L "$HTMLDOCDIR" ]; then + # Remove old directory and files that are now provided by xsane-common + rm -rf "$HTMLDOCDIR" +fi + + +#DEBHELPER# |