summarylogtreecommitdiffstats
path: root/mueller-dict-install
blob: a6e90909d1b0802045d7da928e9551a1a425bd65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash -e

dictd_conf=/etc/dict/dictd.conf
datadir=/usr/share/dictd
dicts=(
	mueller-abbrev
	mueller-base
	mueller-dict
	mueller-geo
	mueller-names
)

echo
echo "Add the following database entries to $dictd_conf and"
echo "restart dictd.service for the changes to take effect:"
echo
for dict in "${dicts[@]}"; do
	echo "database ${dict} {"
	echo "  data  ${datadir}/${dict}.dict.dz"
	echo "  index ${datadir}/${dict}.index"
	echo "}"
done
echo