openjdk-lts/debian/JB-jdk.prerm.in

16 lines
226 B
Bash

#!/bin/sh -e
set -e
jdk_tools='@jdk_tools@'
basedir=/@basedir@
if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ]; then
for i in $jdk_tools; do
update-alternatives --remove $i $basedir/bin/$i
done
fi
#DEBHELPER#