File: python-pecan.preinst

package info (click to toggle)
python-pecan 0.6.1-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,372 kB
  • ctags: 1,832
  • sloc: python: 9,048; makefile: 144; sh: 85
file content (16 lines) | stat: -rw-r--r-- 271 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

set -e

if [ "${1}" = "upgrade" ] ; then
	if [ ! -h /usr/bin/gunicorn_pecan ] && [ -e /usr/bin/gunicorn_pecan ] ; then
		rm /usr/bin/gunicorn_pecan
	fi
	if [ ! -h /usr/bin/pecan ] && [ -e /usr/bin/pecan ] ; then
		rm /usr/bin/pecan
	fi
fi

#DEBHELPER#

exit 0