File: preinst

package info (click to toggle)
gaupol 0.17-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 4,404 kB
  • ctags: 4,403
  • sloc: python: 22,484; xml: 4,694; makefile: 85; sh: 45
file content (11 lines) | stat: -rw-r--r-- 191 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
# TODO: remove this file after releasing Squeeze
set -e
if [ "$1" = upgrade ]
then
	if dpkg --compare-versions "$2" lt 0.14-1; then
		pycentral pkgremove gaupol
	fi
fi

#DEBHELPER#