File: python-cracklib.preinst

package info (click to toggle)
cracklib2 2.8.19-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 3,084 kB
  • sloc: sh: 11,170; ansic: 2,626; xml: 365; python: 279; makefile: 185; sed: 16
file content (11 lines) | stat: -rw-r--r-- 203 bytes parent folder | download | duplicates (5)
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 2.8.13-13; then
		pycentral pkgremove python-cracklib
	fi
fi

#DEBHELPER#