This file is indexed.

postrm is in freeipa-client 4.7.0~pre1+git20180411-2ubuntu2.

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

if [ "$1" = purge ]; then
    rm -f /etc/ipa/default.conf
    rm -f /etc/pki/nssdb/cert8.db \
          /etc/pki/nssdb/key3.db \
          /etc/pki/nssdb/secmod.db
    rm -f /etc/ipa/nssdb/cert8.db \
          /etc/ipa/nssdb/key3.db \
          /etc/ipa/nssdb/pwdfile.txt \
          /etc/ipa/nssdb/secmod.db \
          /etc/ipa/nssdb/*.orig
    rmdir /etc/pki/nssdb || true
    rmdir /etc/ipa/nssdb || true
    rmdir /etc/ipa || true
    rm -rf /var/lib/ipa-client
    rm -f /var/log/ipaclient-upgrade.log
fi