From 588ec0497ef203f85c7d2cad2715dcf4392175eb Mon Sep 17 00:00:00 2001 From: Disassembler Date: Fri, 8 Dec 2017 09:39:02 +0100 Subject: [PATCH] Update Sigmah Postgres JDBC driver --- sigmah.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sigmah.sh b/sigmah.sh index 244b14e..b54ae9c 100755 --- a/sigmah.sh +++ b/sigmah.sh @@ -10,6 +10,10 @@ wget https://github.com/sigmah-dev/sigmah/releases/download/v2.0.2/sigmah-2.0.2. unzip /tmp/sigmah.war -d /srv/sigmah rm -f /tmp/sigmah.war +# Update Postgres JDBC driver +rm -f /srv/sigmah/WEB-INF/lib/postgresql-9.1-901-1.jdbc4.jar +wget https://jdbc.postgresql.org/download/postgresql-42.1.4.jar -O /srv/sigmah/WEB-INF/lib/postgresql-42.1.4.jar + # Create database export SIGMAH_PWD=$(head -c 18 /dev/urandom | base64) envsubst <${SOURCE_DIR}/tmp/sigmah-createdb.sql >/tmp/sigmah-createdb.sql