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

Elan Ruusamäe glen at delfi.ee
Sun Jun 21 15:28:45 CEST 2009


On Sunday 21 June 2009 14:37, gotar wrote:
> 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
...
> 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
> +

does it work? shouldn't it be %pretrans?

-- 
glen


More information about the pld-devel-en mailing list