File: postinst

package info (click to toggle)
zile 2.2.24-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,488 kB
  • ctags: 1,178
  • sloc: ansic: 12,846; sh: 926; makefile: 189
file content (11 lines) | stat: -rw-r--r-- 436 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
install-info --quiet --section "General Commands" "General Commands" \
     --description="An emacs-like 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#