This file is indexed.

postrm is in initramfs-tools-tcos 0.89.86.

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


case "$1" in
    purge)
	 if getent group tcos >/dev/null; then
      	    delgroup --quiet --system tcos > /dev/null || true
    	 fi

 	 # delete all generated files and dirs
 	 rm -rf /var/lib/tcos/tftp
 	 rm -rf /var/lib/tcos/fs-*
 	 rm -rf /var/cache/tcos
    ;;
esac