File: python-pecan.preinst

package info (click to toggle)
python-pecan 1.0.2-2~bpo8%2B1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 1,252 kB
  • sloc: python: 10,344; makefile: 150; sh: 46
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