Update Sigmah Postgres JDBC driver
This commit is contained in:
parent
cda2d83779
commit
588ec0497e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user