blob: 3c415af4b1ec53ebd55b8ac3cbe7e3702e3ac874 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/sh
PATH=/bin:/usr/bin; export PATH
# Check if teTeX is installed.
if [ ! -f ${PREFIX}/share/texmf/doc/tetex/teTeX-FAQ ]; then
echo "-----------------------------------------"
echo "teTeX is not installed!"
echo "It's recommended to use CJK upon teTeX!"
echo "-----------------------------------------"
exit 1
# Juse grep for 1.0 is not a preferred method, but it seems there is no
# other way identifying whether teTeX 1.0 or above is installed.
#elif [ -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 it to function properly."
# echo "-------------------------------------------"
# exit 1
fi
|