summaryrefslogtreecommitdiffstats
path: root/debian/local/eclipse-ide.postinst.in
blob: 3177cb3622cd97781b4ac8568015bb6627ed27d2 (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
	configure)
		update-alternatives --quiet --install /usr/bin/eclipse-ide-@FEATURE@ eclipse-ide-@FEATURE@ /usr/bin/eclipse-ide-@RELEASE@-@FEATURE@ @PRIORITY@
		update-alternatives --quiet --install /usr/bin/eclipse-ide-@RELEASE@ eclipse-ide-@RELEASE@ /usr/bin/eclipse-ide-@RELEASE@-@FEATURE@ @PRIORITY@
		update-alternatives --quiet --install /usr/bin/eclipse-ide eclipse-ide /usr/bin/eclipse-ide-@RELEASE@-@FEATURE@ @PRIORITY@
		;;

	abort-upgrade|abort-remove|abort-deconfigure)

		;;

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

#DEBHELPER#

exit 0