This file is indexed.

prerm is in qemu-user-static 1.0.50-2012.03-0ubuntu2.

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

BINFMT_TARGETS="alpha arm armeb cris m68k microblaze mips mipsel ppc ppc64 ppc64abi32 sh4 sh4eb sparc sparc32plus sparc64"

if [ "$1" = remove ] && [ -x /usr/sbin/update-binfmts ]; then
	for target in $BINFMT_TARGETS ; do
		update-binfmts --package qemu-user-static --remove qemu-$target /usr/bin/qemu-$target-static
	done
fi