archrelease: copy trunk to extra-x86_64
[arch-packages.git] / java-common / trunk / install_java-runtime-common.sh
blobf61d1770d101064ef9b23cb557e1b466f52e2607
1 pre_upgrade() {
2 if grep -q '^export _JAVA_AWT_WM_NONREPARENTING=1' /etc/profile.d/jre.sh > /dev/null 2>&1; then
3 echo "Variable '_JAVA_AWT_WM_NONREPARENTING' should not be set in /etc/profile.d/jre.sh any more"
4 echo "Please declare it in ~/.xinitrc or such"
5 fi
8 post_install() {
9 echo 'For the complete set of Java binaries to be available in your PATH,'
10 echo 'you need to re-login or source /etc/profile.d/jre.sh'
11 echo 'Please note that this package does not support forcing JAVA_HOME as former package 'java-common' did'
14 post_upgrade() {
15 archlinux-java fix