summarylogtreecommitdiffstats
path: root/burpsuite.install
blob: 0bb75c82e4014986bb119d72affaf00934100311 (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. Please change your default Java implementation using `archlinux-java`.'
            ;;
    esac
}

post_install() {
    _ensure_java_version
}

post_upgrade() {
    _ensure_java_version
}