File: python-activipy.postinst

package info (click to toggle)
python-activipy 0.1-5
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 440 kB
  • ctags: 657
  • sloc: python: 1,260; makefile: 173; sh: 24; lisp: 18
file content (14 lines) | stat: -rw-r--r-- 317 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

set -e

mandir=/usr/share/man

if [ "$1" = "configure" ] ; then
	update-alternatives --install /usr/bin/activipy_tester activipy_tester /usr/bin/python2-activipy_tester 200 \
		--slave $mandir/man1/activipy_tester.1.gz activipy_tester.1.gz $mandir/man1/python2-activipy_tester.1.gz
fi

#DEBHELPER#

exit 0