Debian Codegraph @

debian/hx.postinst

raw
1 #!/bin/sh
2
3 set -e
4
5 mandir=/usr/share/man
6
7 # Priorities for 'editor':
8 #
9 # vim-tiny: 15
10 # vim: 30
11 # vim-nox: 40
12 # nano: 40
13 # vis: 45
14 # vim-gtk: 50
15 #
16 # With prority 47 we override all but graphical vim variants.
17
18 update-alternatives \
19 --install /usr/bin/editor editor /usr/bin/hx 47 \
20 --slave $mandir/man1/editor.1.gz editor.1.gz $mandir/man1/hx.1.gz
21
22 #DEBHELPER#
23
24 exit 0