File: preinst

package info (click to toggle)
tagpy 2013.1-7
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 492 kB
  • sloc: python: 1,306; cpp: 811; makefile: 31; sh: 5
file content (11 lines) | stat: -rwxr-xr-x 189 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
#!/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

#DEBHELPER#

exit 0