wok diff postgis/receipt @ rev 21463

updated mobile-broadband-provider-info and mobile-broadband-provider-info-dev (20120614 -> 20190116)
author Hans-G?nter Theisgen
date Tue Apr 30 14:12:14 2019 +0100 (2019-04-30)
parents e2ec3520cf88
children 432dd31a79d5
line diff
     1.1 --- a/postgis/receipt	Wed Mar 07 15:49:31 2018 +0100
     1.2 +++ b/postgis/receipt	Tue Apr 30 14:12:14 2019 +0100
     1.3 @@ -27,3 +27,13 @@
     1.4  	cp -a $install/* $fs
     1.5  	rm -f $fs/usr/bin/shp2pgsql-gui 
     1.6  }
     1.7 +
     1.8 +post_install_example()
     1.9 +{
    1.10 +	database=test
    1.11 +	chroot "$1/" createdb -U postgres -h localhost $database
    1.12 +	chroot "$1/" psql -U postgres $database <<EOT
    1.13 +create extension postgis;
    1.14 +\q
    1.15 +EOT
    1.16 +}