#! /bin/sh

set -e

jdkhome=@basedir@
priority=@priority@
jdk_tools='@jdk_tools@'

if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ]; then
    for program in $jdk_tools; do
	update-alternatives --quiet \
	    --remove "$program" "$jdkhome/bin/$program"
    done
fi

#DEBHELPER#
