This file is indexed.

postrm is in yorick-doc 2.2.01+dfsg-2.

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
#!/bin/sh
set -e
case $1 in
  remove)
    if [ -x "`which update-yorickdoc 2>/dev/null`" ]; then
	update-yorickdoc --auto
    fi
    ;;
  purge)
    if [ -e "/usr/share/doc/yorick-doc" ]; then
	rm -Rf /usr/share/doc/yorick-doc
    fi
    ;;
esac