#!/bin/sh

#DEBHELPER#
if [ "$1" = "configure" ]; then
    /@main_bin@/mktemplate_gis
    cd /@pg_bindir@
    rm -f pgsql2shp
	ln -s /@main_bin@/pgsql2shp pgsql2shp
    chmod a+x pgsql2shp
    rm -f shp2pgsql
	ln -s /@main_bin@/shp2pgsql shp2pgsql
    chmod a+x shp2pgsql
fi
