ports/print/texlive/texmf/patches/patch-texmf-dist_scripts_installfont_installfont-tl

24 lines
696 B
Text

--- texmf-dist/scripts/installfont/installfont-tl.origy Mon Jul 15 23:47:34 2013
+++ texmf-dist/scripts/installfont/installfont-tl Fri Jan 2 16:38:59 2015
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/ksh
#
# installfont-tl [options]
#
@@ -93,7 +93,7 @@ then
echo -e "`basename $0`: Could not find command line arguments.\nUse the '--help' option for explanation."
echo -e "Continue with default script variables? (y/n)"
read ANSWER
- if [ $ANSWER = "n" -o $ANSWER = "N" ]
+ if [ X"$ANSWER" = "Xn" -o X"$ANSWER" = "XN" ]
then
exit 1
fi
@@ -611,4 +611,4 @@ then
rmdir ./Backup
fi
echo -e "\n\nThe font(s) should be installed now!"
-exit 0
\ No newline at end of file
+exit 0