diff options
| author | Igor Pashev <pashev.igor@gmail.com> | 2015-07-05 22:06:22 +0300 |
|---|---|---|
| committer | Igor Pashev <pashev.igor@gmail.com> | 2015-07-05 22:06:22 +0300 |
| commit | 622812485150fa7864910ee2f710d5aab2fa9e6d (patch) | |
| tree | b3bc4fd72bb80e74ba5a60d8b3d47e610dff012e /debian/python-apt-doc.preinst | |
| parent | 798846ab8337471998b0a4d796d6d409453faa7d (diff) | |
| parent | fdd173dd444098ed533cbcd541a7f10f228bc47e (diff) | |
| download | python-apt-622812485150fa7864910ee2f710d5aab2fa9e6d.tar.gz | |
Merge git://anonscm.debian.org/apt/python-apt
Conflicts:
debian/changelog
python/apt_pkgmodule.cc
Diffstat (limited to 'debian/python-apt-doc.preinst')
| -rwxr-xr-x | debian/python-apt-doc.preinst | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/python-apt-doc.preinst b/debian/python-apt-doc.preinst new file mode 100755 index 00000000..2c467dd2 --- /dev/null +++ b/debian/python-apt-doc.preinst @@ -0,0 +1,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# |
