Dr. Werner Fink 2012-05-14 11:35:50 +00:00 committed by Git OBS Bridge
parent 9721f2ec88
commit b15b6a6259
2 changed files with 29 additions and 1 deletions

View File

@ -122,7 +122,7 @@
len = strlen (line);
--- texk/kpathsea/mktex.opt
+++ texk/kpathsea/mktex.opt 2009-09-02 12:47:26.000000000 +0000
+++ texk/kpathsea/mktex.opt 2012-05-14 13:26:00.034911495 +0200
@@ -37,10 +37,11 @@ if test "$DOSISH" = "no"; then SEP=':';
# TEMPDIR needs to be unique to each process because of the possibility of two
# people running dvips (or whatever) simultaneously.
@ -177,6 +177,28 @@
# The supporting scripts:
: ${MT_MKTEXNAM=`kpsewhich --format='web2c files' mktexnam`}
@@ -108,9 +120,18 @@ fi
: ${MAG=1.0}
: ${ps_to_pk=gsftopk} # some prefer ps2pk
-# Allow fonts to be read and written (especially in case we make
-# directories) by everyone.
-umask 0
+case ":${MT_FEATURES}:" in
+*:varfonts:*)
+ if test -w "$MT_VARTEXFONTS" ; then
+ # Allow fonts to be read and written (especially in case we make
+ # directories) by everyone.
+ umask 0
+ else
+ umask 022
+ MT_VARTEXFONTS=$HOME/.cache/texmf/fonts
+ test -d $MT_VARTEXFONTS || mkdir -p $MT_VARTEXFONTS
+ fi
+esac
# Cache values that may be useful for recursive calls.
export MT_MKTEX_OPT MT_MKTEX_CNF
--- texk/kpathsea/mktexlsr
+++ texk/kpathsea/mktexlsr 2012-04-27 14:06:45.670065918 +0000
@@ -36,6 +36,9 @@ Kpathsea manual available at http://tug.

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon May 14 11:34:42 UTC 2012 - werner@suse.de
- If MT_FEATURES includes varfonts and system default is not
writable choose $HOME/.cache/texmf/fonts
-------------------------------------------------------------------
Tue Dec 20 13:24:26 UTC 2011 - werner@suse.de