diff options
Diffstat (limited to 'print/latex-cjk/scripts/pre-build')
-rw-r--r-- | print/latex-cjk/scripts/pre-build | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/print/latex-cjk/scripts/pre-build b/print/latex-cjk/scripts/pre-build deleted file mode 100644 index 32b8c2924a5d..000000000000 --- a/print/latex-cjk/scripts/pre-build +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/sh -PATH=/bin:/usr/bin; export PATH - -# Check if teTeX is installed. -if [ ! -f ${PREFIX}/share/texmf/doc/tetex/README ]; 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 |