This file is indexed.

postrm is in maas-dhcp 1.5+bzr2252-0ubuntu1.

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

set -e

if [ "$1" = "remove" ] || [ "$1" = "purge" ]; then
   dhcpd_prof="/etc/apparmor.d/usr.sbin.dhcpd"
   if [ -f "${dhcpd_prof}" ] &&
      command -v apparmor_parser >/dev/null 2>&1; then
      apparmor_parser --replace --write-cache --skip-read-cache "${dhcpd_prof}"
   fi
fi