1 # postrm script for Corretto
2 #
3 # summary of how this script can be called:
4 # * <postrm> `remove'
5 # for details, see https://www.debian.org/doc/debian-policy/ch-maintainerscripts.html or
6 # the debian-policy package
7
8 case "$1" in
9 remove | deconfigure)
10 for i in @jdk_tools@; do
11 if [ -e @java_home@/bin/$i ]; then
12 update-alternatives --remove $i @java_home@/bin/$i
13 fi
14 done
15 ;;
16 esac
17
18 exit 0