#!/bin/sh
set -C -e -f -u

LD_LIBRARY_PATH=$(dirname $(find /usr/lib -name libjvm.so) | head -n 1) /usr/bin/swipl -f none -g check_installation -t halt
LD_LIBRARY_PATH=$(dirname $(find /usr/lib -name libjvm.so) | head -n 1) /usr/bin/swipl -f none -g test_installation,halt -t halt
