summaryrefslogtreecommitdiffstats
path: root/debian/bcfg2.preinst
blob: be4b1444a517bcadd8c7385e8a0cf727459281c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
# This file can be removed after a few releases.
set -e
if [ "$1" = upgrade ]
then
  if dpkg --compare-versions "$2" lt 1.0pre5-0.3; then
    if which pycentral > /dev/null; then
      pycentral pkgremove bcfg2
    fi
  fi
fi

#DEBHELPER#