Merge branch 'master' into debianized
[htsworkflow.git] / debian / python-htsworkflow.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-htsworkflow.list ] && which pycentral >/dev/null 2>&1
10 then
11     pycentral pkgremove python-htsworkflow
12 fi
13
14 #DEBHELPER#