File: hy.postinst

package info (click to toggle)
hy 1.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,632 kB
  • sloc: python: 7,299; makefile: 38; sh: 27
file content (16 lines) | stat: -rw-r--r-- 314 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/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 \
			--slave /usr/share/man/man1/hy.1.gz hy.1.gz /usr/share/man/man1/hy3.1.gz
		;;
esac

#DEBHELPER#

exit 0