File: postinst

package info (click to toggle)
zile 2.2.59-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 1,772 kB
  • ctags: 1,124
  • sloc: ansic: 13,670; sh: 1,140; makefile: 168
file content (11 lines) | stat: -rw-r--r-- 430 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
install-info --quiet --section "Editors" "Editors" \
     --description="A very small Emacs-subset editor." /usr/share/info/zile.info

update-alternatives --install /usr/bin/editor editor /usr/bin/zile 30 \
     --slave /usr/share/man/man1/editor.1.gz editor.1.gz /usr/share/man/man1/zile.1.gz

# Remove emacs alternative (in case 2.2.22-2 had installed it)
update-alternatives --remove emacs /usr/bin/zile

#DEBHELPER#