File: prerm

package info (click to toggle)
ae 962-26
  • links: PTS
  • area: main
  • in suites: potato
  • size: 184 kB
  • ctags: 324
  • sloc: ansic: 2,633; makefile: 114; sh: 17
file content (13 lines) | stat: -rw-r--r-- 184 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#! /bin/sh

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

if [ -e /bin/ae.vi.sh ]
then
  update-alternatives --remove vi /usr/bin/ae.vi.sh
fi

exit 0