File: python3-pecan.postinst

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 (12 lines) | stat: -rw-r--r-- 261 bytes parent folder | download | duplicates (3)
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/gunicorn_pecan gunicorn_pecan /usr/bin/gunicorn_pecan-python3 300
	update-alternatives --install /usr/bin/pecan pecan /usr/bin/pecan-python3 300
fi

#DEBHELPER#

exit 0