install_java-runtime-common.sh 583 B

1234567891011121314151617
  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
  6. }
  7. post_install() {
  8. echo 'For the complete set of Java binaries to be available in your PATH,'
  9. echo 'you need to re-login or source /etc/profile.d/jre.sh'
  10. echo 'Please note that this package does not support forcing JAVA_HOME as former package 'java-common' did'
  11. }
  12. post_upgrade() {
  13. parabola-java fix
  14. }