From b3ede9b279f1f6b3c79a1831a14e62599e3018ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Fabian=20Silva=20Delgado?= Date: Mon, 3 Nov 2014 13:17:07 -0200 Subject: java-runtime-common-2-2.parabola1: remove _JAVA_AWT_WM_NONREPARENTING from jre.sh --- libre/java-common/install_java-runtime-common.sh | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libre/java-common/install_java-runtime-common.sh') diff --git a/libre/java-common/install_java-runtime-common.sh b/libre/java-common/install_java-runtime-common.sh index 0c9ae502e..9aebc7502 100644 --- a/libre/java-common/install_java-runtime-common.sh +++ b/libre/java-common/install_java-runtime-common.sh @@ -1,3 +1,10 @@ +pre_upgrade() { + if grep -q '^export _JAVA_AWT_WM_NONREPARENTING=1' /etc/profile.d/jre.sh > /dev/null 2>&1; then + echo "Variable '_JAVA_AWT_WM_NONREPARENTING' should not be set in /etc/profile.d/jre.sh any more" + echo "Please declare it in ~/.xinitrc or such" + fi +} + post_install() { echo 'For the complete set of Java binaries to be available in your PATH,' echo 'you need to re-login or source /etc/profile.d/jre.sh' -- cgit v1.2.3-2-g168b