summaryrefslogtreecommitdiff
path: root/debian/python-apt-doc.preinst
blob: 2c467dd221b8e4f04c856559f344086701eb5ad1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

set -e

# Remove files that remained
if [ "$1" = "upgrade" ]; then
    if test -d /usr/share/doc/python-apt/html; then
        rm -r /usr/share/doc/python-apt/html
    fi

    if test -d /usr/share/doc/python-apt/examples; then
        rm -r /usr/share/doc/python-apt/examples
    fi
fi

#DEBHELPER#