packages: lilypond/lilypond.spec - allow upgrade from broken %{texmfdir}/dv...

gotar gotar at pld-linux.org
Sun Jun 21 13:37:42 CEST 2009


Author: gotar                        Date: Sun Jun 21 11:37:42 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- allow upgrade from broken %{texmfdir}/dvips/lilypond/ps symlink

---- Files affected:
packages/lilypond:
   lilypond.spec (1.55 -> 1.56) 

---- Diffs:

================================================================
Index: packages/lilypond/lilypond.spec
diff -u packages/lilypond/lilypond.spec:1.55 packages/lilypond/lilypond.spec:1.56
--- packages/lilypond/lilypond.spec:1.55	Sun Jun 21 13:23:15 2009
+++ packages/lilypond/lilypond.spec	Sun Jun 21 13:37:36 2009
@@ -158,6 +158,9 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%pre
+test -h %{texmfdir}/dvips/lilypond || rm -rf %{texmfdir}/dvips/lilypond
+
 %post
 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
 [ ! -x /usr/bin/texhash ] || /usr/bin/texhash 1>&2
@@ -224,6 +227,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.56  2009/06/21 11:37:36  gotar
+- allow upgrade from broken %{texmfdir}/dvips/lilypond/ps symlink
+
 Revision 1.55  2009/06/21 11:23:15  gotar
 - upgraded to 2.12.2;
 - updated patches (info, afm), obsoleted po, gcc43 and gcc3 (req. 3.4 not 3.3),
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/lilypond/lilypond.spec?r1=1.55&r2=1.56&f=u



More information about the pld-cvs-commit mailing list