This file is indexed.

postrm is in grub-ipxe 1.0.0+git-3.55f6c88-0ubuntu1.

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
#!/bin/sh
# Calls update-grub for the new ipxe entry to show up in the grub menu.
set -e

if [ "${1}" = "remove" ]
then

	if [ -e /boot/grub/grub.cfg ] && which update-grub >/dev/null 2>&1
	then
    	update-grub || true
	fi
fi