This file is indexed.

prerm is in qemu-user-static 2.0.0~rc1+dfsg-0ubuntu3.

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
#!/bin/sh
set -e
# binfmt registration/deregistration
if [ "$1" = remove ] && [ -x /usr/sbin/update-binfmts ]; then
	# list of architectures is autogenerated from debian/rules
	for target in aarch64 alpha arm armeb cris i386 m68k microblaze mips mipsel ppc ppc64 ppc64abi32 s390x sh4 sh4eb sparc sparc32plus sparc64 x86_64 ; do
		if [ -f /var/lib/binfmts/qemu-"$target" ]; then
			update-binfmts --package qemu-user-static --remove qemu-$target /usr/bin/qemu-$target-static
		fi
	done
fi