File: prerm

package info (click to toggle)
joe 3.7-2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 3,300 kB
  • ctags: 2,460
  • sloc: ansic: 34,071; sh: 3,419; makefile: 138
file content (14 lines) | stat: -rw-r--r-- 592 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh -e

if [ "$1" != "upgrade" ]; then
  update-alternatives --remove editor /usr/bin/joe
  update-alternatives --remove editorrc /etc/joe/joerc
  update-alternatives --remove editor /usr/bin/jmacs
  update-alternatives --remove editorrc /etc/joe/jmacsrc
  update-alternatives --remove editor /usr/bin/jstar
  update-alternatives --remove editorrc /etc/joe/jstarrc
  update-alternatives --remove editor /usr/bin/jpico
  update-alternatives --remove editorrc /etc/joe/jpicorc
  update-alternatives --remove editor /usr/bin/rjoe
  update-alternatives --remove editorrc /etc/joe/rjoerc
fi