File: preinst

package info (click to toggle)
webboard 0.3-3
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 240 kB
  • ctags: 94
  • sloc: python: 679; sh: 61; makefile: 56
file content (8 lines) | stat: -rw-r--r-- 133 bytes parent folder | download
1
2
3
4
5
6
7
8
#!/bin/sh
set -e

if [ "$1" = upgrade ] && dpkg --compare-versions "$2" lt 0.3-1; then
	pycentral pkgremove webboard
fi

#DEBHELPER#