2013-03-26 21:22:33 +05:30
|
|
|
#! /bin/sh
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
# This was added by stdeb to workaround Debian #479852. In a nutshell,
|
|
|
|
# pycentral does not remove normally remove its symlinks on an
|
|
|
|
# upgrade. Since we're using python-support, however, those symlinks
|
|
|
|
# will be broken. This tells python-central to clean up any symlinks.
|
2013-03-31 22:37:21 +05:30
|
|
|
if [ -e /var/lib/dpkg/info/gramps.list ] && which pycentral >/dev/null 2>&1
|
2013-03-26 21:22:33 +05:30
|
|
|
then
|
2013-03-31 22:37:21 +05:30
|
|
|
pycentral pkgremove gramps
|
2013-03-26 21:22:33 +05:30
|
|
|
fi
|
|
|
|
|
|
|
|
#DEBHELPER#
|