diff --git a/gnuhealth.sh b/gnuhealth.sh index 8d04cea..1882938 100755 --- a/gnuhealth.sh +++ b/gnuhealth.sh @@ -24,7 +24,7 @@ docker run --rm -h gnuhealth --link postgres -v /srv/gnuhealth/conf:/srv/gnuheal rm -f /tmp/.adminpwd # Populate demo database -wget http://health.gnu.org/downloads/postgres_dumps/gnuhealth-3.2rc1.sql.gz -O /tmp/gnuhealth_demo.sql.gz +wget http://health.gnu.org/downloads/postgres_dumps/gnuhealth-32-demo.sql.gz -O /tmp/gnuhealth_demo.sql.gz zcat /tmp/gnuhealth_demo.sql.gz | docker exec -i -e PGPASSWORD=${GNUHEALTH_PWD} postgres psql gnuhealth_demo gnuhealth rm -f /tmp/gnuhealth_demo.sql.gz