summarylogtreecommitdiffstats
path: root/burpsuite-pro.install
blob: 41f985f44d2954ab72e18075a60d85e5b9d3ae21 (plain)
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
}