File: python3-activipy.postinst

package info (click to toggle)
python-activipy 0.1-10
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 436 kB
  • sloc: python: 1,260; makefile: 171; lisp: 18; sh: 13
file content (14 lines) | stat: -rw-r--r-- 317 bytes parent folder | download | duplicates (5)
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/python3-activipy_tester 300 \
		--slave $mandir/man1/activipy_tester.1.gz activipy_tester.1.gz $mandir/man1/python3-activipy_tester.1.gz
fi

#DEBHELPER#

exit 0