postrm is in postgresql-9.1-postgis 1.5.3-2.
This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | #!/bin/sh
set -e
# Removes all postgis shared libs links
if [ "$1" = "purge" ]; then
for version in 9.1
do
find /usr/lib/postgresql/$version/lib -type f -name "postgis-1.5.so" -delete || true
done
fi
exit 0
|