1 2 3 4 5 6 7 8 9 10
#!/bin/sh case "$2" in "POST-DEINSTALL") PREF=${PREFIX:-$PKG_PREFIX} SHAREDIR=${PREF}/share/postgis rm -f ${SHAREDIR}/lwpostgis.sql rmdir ${SHAREDIR} ;; esac