]> git.pld-linux.org Git - packages/fontconfig.git/commitdiff
trigger: remove empty dir auto/th/fontconfig-2.10.1-3
authorElan Ruusamäe <glen@delfi.ee>
Tue, 21 Aug 2012 20:31:53 +0000 (23:31 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Tue, 21 Aug 2012 20:31:53 +0000 (23:31 +0300)
fontconfig.spec

index bee9abac5330d6bbf076e72ca3399d73f44ca591..88609fa4a674c3bb67854b2f477a54e265fa3183 100644 (file)
@@ -1,13 +1,13 @@
 # Conditional build
 %bcond_without static_libs     # don't build static library
 %bcond_without doc
 # 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
 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
 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/
        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
 fi
 
 %post
This page took 0.040417 seconds and 4 git commands to generate.