summaryrefslogtreecommitdiff
path: root/print/latex-cjk/scripts/pre-build
blob: 65fe313c8035a38141c3197a54d4044ad66773ba (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
PATH=/bin:/usr/bin; export PATH
#
# Check to see if we have teTeX-0.9 installed, just grep ttf2pk
# in mktexpk. Not a preferred method, but it seems there is no
# other way solving this.
#
if [ -z "`head -1 ${PREFIX}/share/texmf/doc/tetex/README |grep 1\.0`" ]
then
	echo "-------------------------------------------" 
	echo " You do not have teTeX-1.0 installed!"
	echo " CJK 4.3.0 needs that to function properly."
	echo "-------------------------------------------"
	exit 1
fi