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.
 
 
 
 
 
 
nsc_ba_public/tpch/install_exaplus.sh

17 lines
450 B

#!/bin/bash
set -e
PWD=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
if [ -d "$PWD/EXAplus-7.1.2" ]; then
echo "EXAplus is already installed"
else
echo "EXAplus not found. Installing..."
CURLCHECK=$(which curl; echo $? | awk -F "1" $1)
if [ "$CURLCHECK" == "1" ]; then
apt install curl
fi
curl https://www.exasol.com/support/secure/attachment/167965/EXAplus-7.1.2.tar.gz -O
tar -xzf EXAplus-7.1.2.tar.gz
echo "EXAplus installed"
fi