#!/bin/sh set -e # Switch from pycentral to pysupport if [ "$1" = upgrade ] && dpkg --compare-versions "$2" lt 0.94.5-4 ; then pycentral pkgremove python-tagpy fi exit 0