File: preinst-pycentral-clean

package info (click to toggle)
python-defaults 2.6.6-3%2Bsqueeze7
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 700 kB
  • ctags: 177
  • sloc: python: 1,792; makefile: 291; sh: 167; perl: 7
file content (6 lines) | stat: -rw-r--r-- 233 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
# make sure python-central files are removed before new package is installed
if [ "$1" = upgrade ] && [ -f /var/lib/pycentral/#PACKAGE#.pkgremove ]
then
	pycentral pkgremove #PACKAGE#
	rm -f /var/lib/pycentral/#PACKAGE#.pkgremove
fi