This file is indexed.

postrm is in apparmor-profiles-extra 1.19.

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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#!/bin/sh
set -e
# Automatically added by dh_apparmor/UNDECLARED
if [ "$1" = "purge" ] && ! [ -e "/etc/apparmor.d/usr.sbin.apt-cacher-ng" ] ; then
    rm -f "/etc/apparmor.d/disable/usr.sbin.apt-cacher-ng" || true
    rm -f "/etc/apparmor.d/force-complain/usr.sbin.apt-cacher-ng" || true
    rm -f "/etc/apparmor.d/local/usr.sbin.apt-cacher-ng" || true
    rmdir /etc/apparmor.d/disable 2>/dev/null || true
    rmdir /etc/apparmor.d/local   2>/dev/null || true
    rmdir /etc/apparmor.d         2>/dev/null || true
fi
# End automatically added section
# Automatically added by dh_apparmor/UNDECLARED
if [ "$1" = "purge" ] && ! [ -e "/etc/apparmor.d/usr.bin.totem-previewers" ] ; then
    rm -f "/etc/apparmor.d/disable/usr.bin.totem-previewers" || true
    rm -f "/etc/apparmor.d/force-complain/usr.bin.totem-previewers" || true
    rm -f "/etc/apparmor.d/local/usr.bin.totem-previewers" || true
    rmdir /etc/apparmor.d/disable 2>/dev/null || true
    rmdir /etc/apparmor.d/local   2>/dev/null || true
    rmdir /etc/apparmor.d         2>/dev/null || true
fi
# End automatically added section
# Automatically added by dh_apparmor/UNDECLARED
if [ "$1" = "purge" ] && ! [ -e "/etc/apparmor.d/usr.bin.totem" ] ; then
    rm -f "/etc/apparmor.d/disable/usr.bin.totem" || true
    rm -f "/etc/apparmor.d/force-complain/usr.bin.totem" || true
    rm -f "/etc/apparmor.d/local/usr.bin.totem" || true
    rmdir /etc/apparmor.d/disable 2>/dev/null || true
    rmdir /etc/apparmor.d/local   2>/dev/null || true
    rmdir /etc/apparmor.d         2>/dev/null || true
fi
# End automatically added section
# Automatically added by dh_apparmor/UNDECLARED
if [ "$1" = "purge" ] && ! [ -e "/etc/apparmor.d/usr.bin.pidgin" ] ; then
    rm -f "/etc/apparmor.d/disable/usr.bin.pidgin" || true
    rm -f "/etc/apparmor.d/force-complain/usr.bin.pidgin" || true
    rm -f "/etc/apparmor.d/local/usr.bin.pidgin" || true
    rmdir /etc/apparmor.d/disable 2>/dev/null || true
    rmdir /etc/apparmor.d/local   2>/dev/null || true
    rmdir /etc/apparmor.d         2>/dev/null || true
fi
# End automatically added section
# Automatically added by dh_apparmor/UNDECLARED
if [ "$1" = "purge" ] && ! [ -e "/etc/apparmor.d/usr.bin.irssi" ] ; then
    rm -f "/etc/apparmor.d/disable/usr.bin.irssi" || true
    rm -f "/etc/apparmor.d/force-complain/usr.bin.irssi" || true
    rm -f "/etc/apparmor.d/local/usr.bin.irssi" || true
    rmdir /etc/apparmor.d/disable 2>/dev/null || true
    rmdir /etc/apparmor.d/local   2>/dev/null || true
    rmdir /etc/apparmor.d         2>/dev/null || true
fi
# End automatically added section
# Automatically added by dh_apparmor/UNDECLARED
if [ "$1" = "purge" ] && ! [ -e "/etc/apparmor.d/gst_plugin_scanner" ] ; then
    rm -f "/etc/apparmor.d/disable/gst_plugin_scanner" || true
    rm -f "/etc/apparmor.d/force-complain/gst_plugin_scanner" || true
    rm -f "/etc/apparmor.d/local/gst_plugin_scanner" || true
    rmdir /etc/apparmor.d/disable 2>/dev/null || true
    rmdir /etc/apparmor.d/local   2>/dev/null || true
    rmdir /etc/apparmor.d         2>/dev/null || true
fi
# End automatically added section