File: preinst

package info (click to toggle)
pyopengl 3.0.1~b2-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 6,148 kB
  • ctags: 25,165
  • sloc: python: 26,391; sh: 4; makefile: 2
file content (10 lines) | stat: -rwxr-xr-x 147 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

set -e

#DEBHELPER#

if [ "$1" = upgrade ] && dpkg --compare-versions "$2" lt 3.0.0~c1-1; then
   pycentral pkgremove python-opengl
fi