[packages/fontconfig] trigger: remove empty dir
glen
glen at pld-linux.org
Tue Aug 21 22:31:58 CEST 2012
commit b9d4e63a950a033048e7f3c348c6d90addb210c8
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue Aug 21 23:31:53 2012 +0300
trigger: remove empty dir
fontconfig.spec | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/fontconfig.spec b/fontconfig.spec
index bee9aba..88609fa 100644
--- a/fontconfig.spec
+++ b/fontconfig.spec
@@ -1,13 +1,13 @@
# Conditional build
%bcond_without static_libs # don't build static library
%bcond_without doc
-#
+
Summary: Font configuration and customization tools
Summary(pl.UTF-8): Narzędzia do konfigurowania fontów
Summary(pt_BR.UTF-8): Ferramentas para configuração e customização do acesso a fontes
Name: fontconfig
Version: 2.10.1
-Release: 2
+Release: 3
Epoch: 1
License: MIT
Group: Libraries
@@ -170,6 +170,7 @@ if [ -d %{_sysconfdir}/fonts/conf.avail ] && [ ! -L %{_sysconfdir}/fonts/conf.av
install -d %{_datadir}/%{name}/conf.avail
ln -s %{_datadir}/%{name}/conf.avail %{_sysconfdir}/fonts/conf.avail
mv -f %{_sysconfdir}/fonts/conf.avail.rpmsave/*.conf %{_sysconfdir}/fonts/conf.avail/
+ rmdir %{_sysconfdir}/fonts/conf.avail.rpmsave 2>/dev/null || :
fi
%post
More information about the pld-cvs-commit
mailing list