File: fonttools.preinst

package info (click to toggle)
fonttools 2.3-1
  • links: PTS
  • area: main
  • in suites: squeeze, wheezy
  • size: 1,880 kB
  • ctags: 1,806
  • sloc: python: 37,507; ansic: 149; makefile: 14; sh: 6
file content (14 lines) | stat: -rw-r--r-- 230 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

# TODO: remove this file after releasing Squeeze

set -e

if [ "$1" = upgrade ] && dpkg --compare-versions "$2" lt 2.3-1~ ; then
	if [ -x /usr/bin/pycentral ] ; then
		pycentral pkgremove fonttools
	fi
fi

#DEBHELPER#