also redirect stderr to /dev/null for font triggers

This commit is contained in:
Tom Callaway 2016-10-18 10:09:56 -04:00
parent 2f2127230e
commit 9b292f16f0
1 changed files with 8 additions and 5 deletions

View File

@ -1,6 +1,6 @@
%global source_date 20160520
%global tl_version 2016
%global tl_rel 12
%global tl_rel 13
%global tl_release %{tl_rel}.%{source_date}%{?dist}
%global tl_noarch_release %{tl_rel}%{?dist}
%global source_name texlive-%{source_date}-source
@ -7469,9 +7469,9 @@ list=`grep "\.map" | sort -n | uniq`
while read -r line; do
shortfile=`basename $line`
if `echo $shortfile | grep -Eq 'allrunes.map|arabtex.map|arss.map|artm.map|bbold.map|cbgreek-full.map|ccpl.map|cmextra.map|cmll.map|cm.map|cm-super-t1.map|cm-super-t2a.map|cm-super-t2b.map|cm-super-t2c.map|cm-super-ts1.map|cm-super-x2.map|cmtext-bsr-interpolated.map|cyrillic.map|dvng.map|esint.map|ethiop.map|eurosym.map|hfbright.map|iby.map|latxfont.map|lxfonts.map|manfnt.map|mflogo.map|mongolian.map|musix.map|pigpen.map|plother.map|pltext.map|rsfs.map|semaf.map|stmaryrd.map|symbols.map|tipa.map|trajan.map|vnrother.map|vnrtext.map|wasy.map|xypic.map|yhmath.map'`; then
%{_bindir}/updmap-sys --nomkmap --enable MixedMap=$shortfile >/dev/null || :
%{_bindir}/updmap-sys --nomkmap --enable MixedMap=$shortfile >/dev/null 2>&1 || :
else
%{_bindir}/updmap-sys --nomkmap --enable Map=$shortfile >/dev/null || :
%{_bindir}/updmap-sys --nomkmap --enable Map=$shortfile >/dev/null 2>&1 || :
fi
done <<< "$list"
%{_bindir}/updmap-sys --quiet --nomkmap >/dev/null || :
@ -7481,9 +7481,9 @@ list=`grep "\.map" | sort -n | uniq`
while read -r line; do
shortfile=`basename $line`
if `echo $shortfile | grep -Eq 'allrunes.map|arabtex.map|arss.map|artm.map|bbold.map|cbgreek-full.map|ccpl.map|cmextra.map|cmll.map|cm.map|cm-super-t1.map|cm-super-t2a.map|cm-super-t2b.map|cm-super-t2c.map|cm-super-ts1.map|cm-super-x2.map|cmtext-bsr-interpolated.map|cyrillic.map|dvng.map|esint.map|ethiop.map|eurosym.map|hfbright.map|iby.map|latxfont.map|lxfonts.map|manfnt.map|mflogo.map|mongolian.map|musix.map|pigpen.map|plother.map|pltext.map|rsfs.map|semaf.map|stmaryrd.map|symbols.map|tipa.map|trajan.map|vnrother.map|vnrtext.map|wasy.map|xypic.map|yhmath.map'`; then
%{_bindir}/updmap-sys --nomkmap --disable MixedMap=$shortfile >/dev/null || :
%{_bindir}/updmap-sys --nomkmap --disable MixedMap=$shortfile >/dev/null 2>&1 || :
else
%{_bindir}/updmap-sys --nomkmap --disable Map=$shortfile >/dev/null || :
%{_bindir}/updmap-sys --nomkmap --disable Map=$shortfile >/dev/null 2>&1 || :
fi
done <<< "$list"
%{_bindir}/updmap-sys --quiet --nomkmap >/dev/null || :
@ -221964,6 +221964,9 @@ fi
%{_libdir}/pkgconfig/*.pc
%changelog
* Tue Oct 18 2016 Tom Callaway <spot@fedoraproject.org> 5:2016-13.2016520
- also redirect stderr to /dev/null for font triggers
* Mon Oct 17 2016 Tom Callaway <spot@fedoraproject.org> 5:2016-12.2016520
- fix variable naming mistake in triggerpostun