File: prerm

package info (click to toggle)
ed 0.7-3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 1,120 kB
  • ctags: 223
  • sloc: ansic: 2,384; sh: 534; makefile: 145
file content (18 lines) | stat: -rw-r--r-- 392 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#! /bin/sh

set -e

if [ "$1" != "upgrade" ]; then
  update-alternatives --remove editor /bin/ed
fi

case "$1" in
       remove|upgrade|remove-in-favour|deconfigure-in-favour)
               #
               #       Remove the info documentation
               #
	       install-info --quiet --remove /usr/share/info/ed.info.gz
               ;;
       failed-upgrade)
               ;;
esac