diff --git a/CHANGELOG.md b/CHANGELOG.md index 9fc0abffc..b411ece14 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Fixed + +- Install scripts: fix oracle install script by replacing gdown.pl with wget + ## [5.0.0] 2023-12-15 ### Changed diff --git a/toucan_connectors/install_scripts/oracle.sh b/toucan_connectors/install_scripts/oracle.sh index 61ac13baf..ca5f3faba 100755 --- a/toucan_connectors/install_scripts/oracle.sh +++ b/toucan_connectors/install_scripts/oracle.sh @@ -9,12 +9,10 @@ fi apt-get update apt-get install -fyq libaio1 curl wget unzip mkdir -p /opt/oracle -curl -s 'https://public-package.toucantoco.com/connectors_sources/gdown/gdown.pl' -o /tmp/gdown.pl -chmod +x /tmp/gdown.pl -/tmp/gdown.pl 'https://public-package.toucantoco.com/connectors_sources/oracle/oracle_client_lib/oracle_client_lib.zip' '/tmp/oracle_client_lib.zip' +wget 'https://public-package.toucantoco.com/connectors_sources/oracle/oracle_client_lib/instantclient-basiclite-linux.x64-12.2.0.1.0.zip' -O '/tmp/oracle_client_lib.zip' unzip /tmp/oracle_client_lib.zip -d /opt/oracle sh -c "echo /opt/oracle/instantclient_12_2 > /etc/ld.so.conf.d/oracle-instantclient.conf" ldconfig -rm -rf /tmp/gdown.pl /tmp/oracle_client_lib.zip +rm -f /tmp/oracle_client_lib.zip touch ~/oracle-installed