File: python3-qrcode.postinst

package info (click to toggle)
python-qrcode 6.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 304 kB
  • sloc: python: 1,671; makefile: 17; sh: 11
file content (13 lines) | stat: -rw-r--r-- 235 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

set -e

mandir=/usr/share/man

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

#DEBHELPER#

exit 0