This file is indexed.

postinst is in xfonts-intl-chinese-big 1.2.1-10.

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
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/bin/sh

set -e

# Automatically added by dh_installxfonts
if which update-fonts-dir >/dev/null 2>&1; then
	update-fonts-dir --x11r7-layout misc
fi
# End automatically added section


XFS_PKG="none"

# Have a look which one is installed.
if [ -x /etc/init.d/xfs ]; then
	XFS_PKG="xfs"
elif [ -x /etc/init.d/xfs-xtt ]; then
	XFS_PKG="xfs-xtt"
fi

# Exit if no xfs variant is installed.
if [ "$XFS_PKG" = "none" ]; then
	exit 0
fi

# Force-reload the xfs variant.
if which invoke-rc.d >/dev/null 2>&1; then
	invoke-rc.d $XFS_PKG force-reload
else
	/etc/init.d/$XFS_PKG force-reload
fi

exit 0