]> git.pld-linux.org Git - packages/texlive.git/commitdiff
- set umask before calling texhash, ls-R is a ghost, so in case
authorJan Rękorajski <baggins@pld-linux.org>
Sat, 16 May 2009 17:31:23 +0000 (17:31 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  of wrong umask we may get unreadable file

Changed files:
    texlive.spec -> 1.268

texlive.spec

index 0c0db305c91a403c5bc4ccac1a5dae1e539b3e11..b8e9c72bb609bede4aeb0e4e503d9b9163f18067 100644 (file)
@@ -190,7 +190,7 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %define                texmfdist %{texmf}-dist
 %define                texmfdoc %{texmf}-doc
 %define                fmtdir  /var/lib/texmf/web2c
-%define                texhash [ ! -x %{_bindir}/texhash ] || %{_bindir}/texhash 1>&2;
+%define                texhash umask 022; [ ! -x %{_bindir}/texhash ] || %{_bindir}/texhash 1>&2;
 %define                _localstatedir  /var/lib/texmf
 %define                fixinfodir [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 ;
 %define                fmtutil(f:) [ ! \\\( -f %{_localstatedir}/web2c/%{-f*}.fmt.rpmnew -o -f %{_localstatedir}/web2c/%{-f*}.efmt.rpmnew \\\) ] || %{_bindir}/fmtutil-sys --byfmt %{-f*} >/dev/null 2>/dev/null || echo "Regenerating %{-f*} failed. See %{_localstatedir}/web2c/%{-f*}.log for details" 1>&2 && exit 0 ;
This page took 0.198122 seconds and 4 git commands to generate.