prerm is in routino-www 3.0-3.
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 16 17 18 19 20 21 22 23 24 25  | #! /bin/sh -x
# postrm script for routino-www
#
set -e
if [ "$DPKG_DEBUG" = "developer" ]; then
  set -x
fi
apache_uninstall() {
        COMMON_STATE=$(dpkg-query -f '${Status}' -W 'apache2.2-common' 2>/dev/null | awk '{print $3}' || true)
        if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then
                . /usr/share/apache2/apache2-maintscript-helper
                apache2_invoke disconf routino-www || exit $?
        elif [ "$COMMON_STATE" = "installed" ] || [ "$COMMON_STATE" = "unpacked" ] ; then
                [ ! -L /etc/apache2/conf.d/routino-www.conf ] || rm /etc/apache2/conf.d/routino-www.conf
        fi
        rm -f /etc/apache2/conf-available/routino-www.conf
}
if [ "$1" = "deconfigure" ]; then
    apache_uninstall
fi
 |