This file is indexed.

preinst is in gnuit 4.9.5-3.

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

set -e

if update-alternatives --list git | fgrep /usr/bin/git.transition >/dev/null
then
    update-alternatives --auto git
    update-alternatives --remove git /usr/bin/git.transition
fi