summaryrefslogtreecommitdiffstats
path: root/debian/local/eclipse-ide.prerm.in
blob: bc68585bf7300a25ff8f7fdc6f4e48b438a79f12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh

set -e

case "${1}" in
	remove|upgrade|deconfigure)
		update-alternatives --quiet --remove eclipse-ide-@FEATURE@ /usr/bin/eclipse-ide-@RELEASE@-@FEATURE@
		update-alternatives --quiet --remove eclipse-ide-@RELEASE@ /usr/bin/eclipse-ide-@RELEASE@-@FEATURE@
		update-alternatives --quiet --remove eclipse-ide /usr/bin/eclipse-ide-@RELEASE@-@FEATURE@
		;;

	failed-upgrade)

		;;

	*)
		echo "prerm called with unknown argument \`${1}'" >&2
		exit 1
		;;
esac

#DEBHELPER#

exit 0