File: preinst

package info (click to toggle)
tagpy 0.94.8-4
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 476 kB
  • sloc: python: 1,163; cpp: 807; makefile: 45; 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