Include extra config and fix wget in gdal install

pull/289/head
admire 2021-01-05 15:46:47 +02:00
rodzic 99f0c016f3
commit ce862ea55d
2 zmienionych plików z 9 dodań i 2 usunięć

Wyświetl plik

@ -1,7 +1,7 @@
#!/usr/bin/env bash
if [[ ${IMAGE_VERSION} =~ [Bb][Uu][Ll][Ll][Ss][Ee][Yy][Ee] ]]; then
wget http://ftp.br.debian.org/debian/pool/main/g/gdal/libgdal27_3.1.4+dfsg-1+b1_amd64.deb
wget --progress=bar:force:noscroll -c --no-check-certificate http://ftp.br.debian.org/debian/pool/main/g/gdal/libgdal27_3.1.4+dfsg-1+b1_amd64.deb
dpkg -i libgdal27_3.1.4+dfsg-1+b1_amd64.deb
fi

Wyświetl plik

@ -82,7 +82,14 @@ EOF
echo "include 'streaming_replication.conf'" >> $CONF
fi
echo -e $EXTRA_CONF >> $CONF
if [[ -f ${ROOT_CONF}/extra.conf ]];then
rm $CONF/extra.conf
fi
if [[ ! -z $EXTRA_CONF ]]; then
echo -e $EXTRA_CONF >> ${ROOT_CONF}/extra.conf
echo "include 'extra.conf'" >> $CONF
fi
# Optimise PostgreSQL shared memory for PostGIS
# shmall units are pages and shmmax units are bytes(?) equivalent to the desired shared_buffer size set in setup_conf.sh - in this case 500MB