summarylogtreecommitdiffstats
path: root/tmispell-voikko.install
blob: 1e7209237af69f6d61d97cb87f6194b282def223 (plain)
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
post_install() {
  echo ">>> If you want to use tmispell as a replacement for "
	echo ">>> ispell (for example in KDE), do the following as root: "
	echo "    1. Rename the ispell binary /usr/bin/ispell to ispell.real"
	echo "       cd /usr/bin"
	echo "       mv ispell ispell.real"
	echo
	echo "    2. Add a symbolic link."
	echo "       ln -s tmispell ispell"
	echo 
	echo ">>> Go to the KDE Control Center and "
	echo ">>> change the spellchecker to use ispell."
	echo ">>> dictionary should be "suomi" and encoding \"UTF-8\"."
	echo
	echo ">>> Every time you update ispell, do the above."
	echo
}

post_upgrade() {
  post_install $1
}

post_remove() {
	echo ">>> If you moved the ispell binary, remember to move it back again."
  echo "       mv /usr/bin/ispell.real /usr/bin/ispell"
	echo
}

# vim:set ts=2 sw=2 et: