You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
451 B

#!/bin/bash
# Author: Christoph Galuschka <christoph.galuschka@chello.at>
# Install java
if [ $centos_ver -ge 8 ]; then
echo "Package not included in CentOS $centos_ver, skipping"
exit 0
fi
if (t_GetArch | grep -qE 'aarch64|ppc64le')
then
echo "Package not included for current arch, skipping"
exit 0
fi
t_Log "Running $0 - installing openjdk runtime/development environment."
t_InstallPackage java-1.6.0-openjdk java-1.6.0-openjdk-devel