This file is indexed.

config is in anthy 9100h-25ubuntu1.

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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#!/bin/sh 

set -e

. /usr/share/debconf/confmodule

METADICDIR=/usr/share/anthy/dic
#ADDONDICDIR=/var/lib/anthy/
DICLIST=/var/cache/anthy/diclist
DICFILE=''

if [ ! -d /var/cache/anthy ]; then
	mkdir -m 755 /var/cache/anthy
fi

if [ -f $DICLIST ]; then
	if [ -f "$DICLIST"-old ]; then
		rm -f "$DICLIST-old"
	fi
	mv "$DICLIST" "$DICLIST-old"
fi

cat << ENDOFLIST > $DICLIST
2ch.t
base.t
extra.t
ENDOFLIST

if [ -f "$DICLIST"-old ]; then
	if diff -q "${DICLIST}"-old "${DICLIST}" > /dev/null 2>&1; then
		# old file and new file are identical
		rm -f "$DICLIST-old"
	else
		db_get anthy/reconf
		if [ "$RET" = "true" ]; then
			db_fset anthy/dictionaries seen false
		fi
	fi
fi

DICS=$(sort -u "$DICLIST" | tr '\n' ' ' \
      | sed 's/\ /,\ /g' | sed 's/,\ $//g')

db_capb backup

db_subst anthy/dictionaries dictionaries "$DICS"

while [ "$GO" != "ok" ]; do
	db_input medium anthy/dictionaries || true
	if db_go; then
		GO=ok
	fi
done

db_input medium anthy/reconf || true
db_go || true