File: prerm

package info (click to toggle)
nvi 1.79-5
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 5,380 kB
  • ctags: 3,767
  • sloc: ansic: 42,482; sh: 1,497; tcl: 1,124; makefile: 776; perl: 240; awk: 24; csh: 13
file content (11 lines) | stat: -rw-r--r-- 249 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
#! /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

exit 0