summaryrefslogtreecommitdiff
path: root/debian/sane-utils.preinst
blob: 1a7f24b41e152ab21dbf7bfe9249f20074646ff8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh

set -e

MANPAGE=/usr/share/man/man5/sane-umax_pp.5.gz
MANLINK=/usr/share/man/man5/umax_pp.5.gz


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


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


#DEBHELPER#