void-packages/srcpkgs/openjdk-common/INSTALL
classabbyamp dcbd1f1067 New package: openjdk-common-1
Replaces the xbps trigger that added the profile script for openjdk,
which was really a mistake.

Instead of using alternative groups for specific JRE/JDK binaries, use
two symlinks: /usr/lib/jvm/default-jdk and /usr/lib/jvm/default-jre,
which point to /usr/lib/jvm/${version}. Prefer default-jdk to default-jre,
and just add them to PATH and MANPATH instead of putting things in /usr/bin.
2023-12-24 08:39:52 -05:00

9 lines
170 B
Text

#!/bin/sh
case "$ACTION" in
pre)
# remove the openjdk.sh from xbps-triggers
if [ -e "./etc/profile.d/openjdk.sh" ]; then
rm "./etc/profile.d/openjdk.sh"
fi
;;
esac