File: python-pecan.preinst

package info (click to toggle)
python-pecan 1.3.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 1,276 kB
  • sloc: python: 10,400; makefile: 133; sh: 46
file content (16 lines) | stat: -rwxr-xr-x 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