summaryrefslogtreecommitdiffstats
path: root/debian/bcfg2-server.preinst
blob: 2eb87e99b546822e731f9b95efd62f1d8e2beb1b (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-server
    fi
  fi
fi

#DEBHELPER#