auto-import dejavu-fonts-2.7.0-0.12.fc6 on branch devel from dejavu-fonts-2.7.0-0.12.fc6.src.rpm
triggerun -> postun
This commit is contained in:
parent
6ee7de8c79
commit
69492ccfda
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
Name: dejavu-fonts
|
Name: dejavu-fonts
|
||||||
Version: 2.7.0
|
Version: 2.7.0
|
||||||
Release: 0.10%{?dist}
|
Release: 0.12%{?dist}
|
||||||
Summary: DejaVu fonts
|
Summary: DejaVu fonts
|
||||||
Group: User Interface/X
|
Group: User Interface/X
|
||||||
License: Redistributable, with restrictions
|
License: Redistributable, with restrictions
|
||||||
@ -179,6 +179,7 @@ if [ -w %{fontconfdir}/fonts.conf ] ; then
|
|||||||
/bin/cat $TMPFILE > %{fontconfdir}/fonts.conf && /bin/rm $TMPFILE
|
/bin/cat $TMPFILE > %{fontconfdir}/fonts.conf && /bin/rm $TMPFILE
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
# These bits do not seem achieveable right now by dumping files in
|
# These bits do not seem achieveable right now by dumping files in
|
||||||
# %{fontconfdir}/conf.d
|
# %{fontconfdir}/conf.d
|
||||||
%triggerin block -- fontconfig, %{fontconfdir}/fonts.conf
|
%triggerin block -- fontconfig, %{fontconfdir}/fonts.conf
|
||||||
@ -189,8 +190,9 @@ if [ -w %{fontconfdir}/fonts.conf ] ; then
|
|||||||
/bin/cat $TMPFILE > %{fontconfdir}/fonts.conf && /bin/rm $TMPFILE
|
/bin/cat $TMPFILE > %{fontconfdir}/fonts.conf && /bin/rm $TMPFILE
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%triggerun block -- fontconfig, %{fontconfdir}/fonts.conf
|
|
||||||
if [ -w %{fontconfdir}/fonts.conf ] ; then
|
%preun block
|
||||||
|
if [ "$1" = "0" -a -w %{fontconfdir}/fonts.conf ] ; then
|
||||||
TMPFILE=$(/bin/mktemp -q /tmp/fonts.conf.XXXXXX) && \
|
TMPFILE=$(/bin/mktemp -q /tmp/fonts.conf.XXXXXX) && \
|
||||||
%{_bindir}/xsltproc --novalid --output $TMPFILE \
|
%{_bindir}/xsltproc --novalid --output $TMPFILE \
|
||||||
%{xsldir}/unblock.xsl %{fontconfdir}/fonts.conf && \
|
%{xsldir}/unblock.xsl %{fontconfdir}/fonts.conf && \
|
||||||
@ -235,6 +237,9 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Jun 11 2006 Nicolas Mailhot <nicolas.mailhot at laposte.net> - 2.7.0-0.12
|
||||||
|
- replace triggerun by preun
|
||||||
|
|
||||||
* Sun Jun 11 2006 Nicolas Mailhot <nicolas.mailhot at laposte.net> - 2.7.0-0.10
|
* Sun Jun 11 2006 Nicolas Mailhot <nicolas.mailhot at laposte.net> - 2.7.0-0.10
|
||||||
- block Sans instead of sans-serif - GNOME uses the first one
|
- block Sans instead of sans-serif - GNOME uses the first one
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user