File: python-pecan.postinst

package info (click to toggle)
python-pecan 1.3.2-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,276 kB
  • sloc: python: 10,400; makefile: 133; sh: 46
file content (12 lines) | stat: -rwxr-xr-x 261 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

set -e

if [ "$1" = "configure" ] ; then
	update-alternatives --install /usr/bin/pecan pecan /usr/bin/python2-pecan 300
	update-alternatives --install /usr/bin/gunicorn_pecan gunicorn_pecan /usr/bin/python2-gunicorn_pecan 300
fi

#DEBHELPER#

exit 0