#!/bin/sh case "$2" in "POST-DEINSTALL") PREF=${PREFIX:-$PKG_PREFIX} SHAREDIR=${PREF}/share/postgis rm -f ${SHAREDIR}/lwpostgis.sql rmdir ${SHAREDIR} ;; esac