rpms/tetex-font-cm-lgc/devel tetex-font-cm-lgc.spec,1.5,1.6
Sarantis Paskalis (sarantis)
fedora-extras-commits at redhat.com
Wed Jul 6 12:21:25 UTC 2005
Author: sarantis
Update of /cvs/extras/rpms/tetex-font-cm-lgc/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24174/tetex-font-cm-lgc/devel
Modified Files:
tetex-font-cm-lgc.spec
Log Message:
Run updmap-sys in %post only when installing, not when updating.
Index: tetex-font-cm-lgc.spec
===================================================================
RCS file: /cvs/extras/rpms/tetex-font-cm-lgc/devel/tetex-font-cm-lgc.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- tetex-font-cm-lgc.spec 17 Jun 2005 02:26:32 -0000 1.5
+++ tetex-font-cm-lgc.spec 6 Jul 2005 12:21:23 -0000 1.6
@@ -4,7 +4,7 @@
Name: tetex-font-cm-lgc
Version: 0.5
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: CM-LGC Type1 fonts for LaTeX
Group: Applications/Publishing
@@ -64,7 +64,9 @@
%post
/usr/bin/mktexlsr %{texmf}
-/usr/bin/updmap-sys --quiet --nohash --outputdir %{texmf}/dvips/config --enable Map cm-lgc.map
+if [ "$1" = "1" ]; then
+ /usr/bin/updmap-sys --quiet --nohash --outputdir %{texmf}/dvips/config --enable Map cm-lgc.map
+fi
%postun
if [ "$1" = "0" ]; then
@@ -88,6 +90,9 @@
%changelog
+* Wed Jul 6 2005 Sarantis Paskalis <paskalis at di.uoa.gr> - 0.5-2
+- Run updmap-sys only when installing, not when updating
+
* Wed Jun 15 2005 Sarantis Paskalis <paskalis at di.uoa.gr> - 0.5-1
- update to 0.5 (#160464)
- make the package tetex-3 compliant (use updmap-sys instead of updmap,
More information about the fedora-extras-commits
mailing list