diff options
author | ijliao <ijliao@FreeBSD.org> | 2003-02-21 00:26:58 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2003-02-21 00:26:58 +0800 |
commit | 548c9ae86f72ebe1570fffefb0f5b4dd3f3c0ab1 (patch) | |
tree | 5ef38c624ecd9b855169e9153c10094bec9b7a2d /print | |
parent | 9572b3e419b194c2f23acbe97276b5c77bc16d0a (diff) | |
download | freebsd-ports-gnome-548c9ae86f72ebe1570fffefb0f5b4dd3f3c0ab1.tar.gz freebsd-ports-gnome-548c9ae86f72ebe1570fffefb0f5b4dd3f3c0ab1.tar.zst freebsd-ports-gnome-548c9ae86f72ebe1570fffefb0f5b4dd3f3c0ab1.zip |
make it work with teTeX 2.0.1
Diffstat (limited to 'print')
-rw-r--r-- | print/latex-cjk/scripts/pre-build | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/print/latex-cjk/scripts/pre-build b/print/latex-cjk/scripts/pre-build index 32b8c2924a5d..3c415af4b1ec 100644 --- a/print/latex-cjk/scripts/pre-build +++ b/print/latex-cjk/scripts/pre-build @@ -2,7 +2,7 @@ PATH=/bin:/usr/bin; export PATH # Check if teTeX is installed. -if [ ! -f ${PREFIX}/share/texmf/doc/tetex/README ]; then +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!" @@ -10,10 +10,10 @@ if [ ! -f ${PREFIX}/share/texmf/doc/tetex/README ]; then 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 +#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 |