]> git.sesse.net Git - itkacl/blob - python-itkacl-2.0/debian/python-itkacl.preinst
Release a new version of the Apache module, with the context support.
[itkacl] / python-itkacl-2.0 / debian / python-itkacl.preinst
1 #! /bin/sh
2
3 set -e
4
5 # This was added by stdeb to workaround Debian #479852. In a nutshell,
6 # pycentral does not remove normally remove its symlinks on an
7 # upgrade. Since we're using python-support, however, those symlinks
8 # will be broken. This tells python-central to clean up any symlinks.
9 if [ -e /var/lib/dpkg/info/python-itkacl.list ] && which pycentral >/dev/null 2>&1
10 then
11     pycentral pkgremove python-itkacl
12 fi
13
14 #DEBHELPER#