This file is indexed.

postrm is in bilibop-lockfs 0.5.0.

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

set -e

case "${1}" in
    purge)
        # Comment bilibop-lockfs specific configuration variables in
        # the common bilibop config file:
        CONFIGFILE="/etc/bilibop/bilibop.conf"
        if grep -qs '^[[:blank:]]*BILIBOP_LOCKFS\(_[A-Z]\+\)*=' ${CONFIGFILE}; then
            sed -i 's,^[[:blank:]]*BILIBOP_LOCKFS\(_[A-Z]\+\)*=,#&,' ${CONFIGFILE}
        fi
        ;;
esac

case "${1}" in
    purge|remove)
        # Remove bilibop-lockfs scripts from the initramdisk:
        if which update-initramfs >/dev/null; then
            update-initramfs -u
        fi
        ;;
esac


:
# vim: et ts=4 sts=4 sw=4