mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-30 07:35:17 +02:00
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.
9 lines
170 B
Text
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
|