Blame tests/p_java-1.6.0-openjdk/0-install-openjdk.sh

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