summaryrefslogtreecommitdiff
path: root/debian/xsane-common.preinst
blob: b319f56ac7b6d12e2aaa4a6be8eaad5e7df7fc35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

set -e

HTMLDOCDIR=/usr/share/doc/xsane-common/html

if [ -d "$HTMLDOCDIR" ] && [ -L "$HTMLDOCDIR" ]; then
    # Remove old directory and files that are now provided by xsane-common
    rm -rf "$HTMLDOCDIR"
fi


#DEBHELPER#