This file is indexed.

postrm is in bcron-run 0.10-3.

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

test "$1" != 'remove' || exec rm -f /var/spool/cron/crontabs/:?*
test "$1" = 'purge' || exit 0

sv force-shutdown /etc/bcron-sched /etc/bcron-spool /etc/bcron-update || :
for i in sched spool update; do
  rm -rf /etc/bcron-$i/supervise /etc/bcron-$i/log/supervise
  rm -rf /var/lib/supervise/bcron-$i /var/lib/supervise/bcron-$i.log
done

rm -f /var/spool/cron/trigger
for i in '' spool update; do
  for j in '@*' current config lock state; do
    rm -f /var/log/bcron/$i/$j
  done
done
rmdir /var/log/bcron/spool /var/log/bcron/update || :
rmdir /var/log/bcron || :

getent passwd cron >/dev/null || getent passwd cronlog >/dev/null || exit 0
if ! deluser --version >/dev/null 2>&1; then
  echo 'deluser program not available, not removing system users "cron", "cronlog".' >&2
  exit 0
fi
getent passwd cron >/dev/null || deluser cron
getent passwd cronlog >/dev/null || deluser cronlog