This file is indexed.

postrm is in zookeeper 3.4.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
#!/bin/sh

set -e

NAME="zookeeper"
GROUP=$NAME
USER=$NAME

# shamelessly copied from debian mysql-server package...
#
# - Remove the zookeeper user only after all his owned files are purged.
#   
if [ "$1" = "purge" ]; then
  # we remove the zookeeper user only after all his owned files are purged
  rm -rf /var/lib/$NAME
  rm -rf /var/log/$NAME
  rm -rf /var/run/$NAME

  # --remove-all-files takes ages, so delete manually
  deluser --system $USER || true
  delgroup --system --only-if-empty $GROUP || true
fi