File: prerm

package info (click to toggle)
nvi 1.79-20
  • links: PTS
  • area: main
  • in suites: woody
  • size: 5,384 kB
  • ctags: 3,767
  • sloc: ansic: 42,491; sh: 1,534; tcl: 1,124; makefile: 784; perl: 240; awk: 24; csh: 13
file content (13 lines) | stat: -rw-r--r-- 262 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
#! /bin/sh

if [ "$1" != "upgrade" ]
then
  update-alternatives --remove editor /usr/bin/nvi
  update-alternatives --remove ex /usr/bin/nex
  update-alternatives --remove vi /usr/bin/nvi
  update-alternatives --remove view /usr/bin/nview
fi

#DEBHELPER#

exit 0