1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
_ensure_java_version() { case "$(archlinux-java get)" in java-8-*) printf '%s\n' 'Java 8 is no longer supported by Burpsuite Pro. Please change your default Java implementation using `archlinux-java`.' ;; esac } post_install() { _ensure_java_version } post_upgrade() { _ensure_java_version }