This file is indexed.

preinst is in mini-dinstall 0.6.30.

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

set -e

OLDDIR='/usr/lib/site-python/minidinstall'

if [ "$1" = upgrade ]; then
    if [ -d "$OLDDIR" ]; then
	printf "Removing old optimized Python files in %s\n" "$OLDDIR"
	for i in pyc pyo; do
		rm -f "$OLDDIR"/*.$i
	done
    fi
fi