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.
17 lines
450 B
17 lines
450 B
3 years ago
|
#!/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
|