File: python3-hy.postinst

package info (click to toggle)
hy 0.19.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,480 kB
  • sloc: python: 5,170; makefile: 217; sh: 26
file content (15 lines) | stat: -rw-r--r-- 236 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
set -e

case "$1" in
	configure)
		update-alternatives \
			--install /usr/bin/hy hy /usr/bin/hy3 60 \
			--slave /usr/bin/hyc hyc /usr/bin/hyc3 \
			--slave /usr/bin/hy2py hy2py /usr/bin/hy2py3
		;;
esac

#DEBHELPER#

exit 0