This file is indexed.

prerm is in libstdc++6 8-20180414-1ubuntu2.

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

case "$1" in
    remove|upgrade)
	files=$(dpkg -L libstdc++6:amd64 | awk -F/ 'BEGIN {OFS="/"} /\.py$/ {$NF=sprintf("__pycache__/%s.*.py[co]", substr($NF,1,length($NF)-3)); print}')
	rm -f $files
	dirs=$(dpkg -L libstdc++6:amd64 | awk -F/ 'BEGIN {OFS="/"} /\.py$/ {NF--; print}' | sort -u)
	find $dirs -mindepth 1 -maxdepth 1 -name __pycache__ -type d -empty | xargs -r rmdir
esac