This file is indexed.

preinst is in ttf-hanazono 20160201-1.

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

OLD_ALT_NAME="ttf-japanese-mincho"
OLD_FONT_ENTRY="/usr/share/fonts/truetype/hanazono/hanazono.ttf"

if [ "$1" = "install" ] || [ "$1" = "upgrade" ]; then
	if dpkg --compare-versions "$2" lt-nl "20120421-1.1~"; then
		update-alternatives --remove $OLD_ALT_NAME.ttf $OLD_FONT_ENTRY
	fi
fi