File: preinst-pycentral

package info (click to toggle)
python-central 0.6.16%2Bnmu1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 280 kB
  • ctags: 234
  • sloc: python: 2,585; perl: 522; sh: 135; makefile: 58
file content (6 lines) | stat: -rw-r--r-- 188 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
case "$1" in
    install|upgrade)
	mkdir -p /var/lib/pycentral
	echo '# the presence of this file allows calling pkgremove on upgrade' \
	    > /var/lib/pycentral/#PACKAGE#.pkgremove
esac