This file is indexed.

postrm is in icingaweb2 2.4.1-1.

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
#!/bin/sh

set -e

# Apache2
if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then
    echo "disabling Apache2 configuration ..."
    . /usr/share/apache2/apache2-maintscript-helper
    apache2_invoke disconf icingaweb2
fi
if [ -L /etc/apache2/conf.d/icingaweb2.conf ]; then
    echo "removing link /etc/apache2/conf.d/icingaweb2.conf ..."
    # remove link to config
    rm -f /etc/apache2/conf.d/icingaweb2.conf
    # reload webserver
    [ -x $(which invoke-rc.d) ] && invoke-rc.d apache2 reload || true
fi