[packages/fontconfig] - mv config files (there are config files from external packages there, too), so these won't get los

arekm arekm at pld-linux.org
Thu Aug 2 12:52:56 CEST 2012


commit 1fc1d14a58388b16c397fd29b93cbb6e222039f7
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Aug 2 12:52:53 2012 +0200

    - mv config files (there are config files from external packages there, too), so these won't get lost

 fontconfig.spec | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/fontconfig.spec b/fontconfig.spec
index 6a350d8..d3cc2da 100644
--- a/fontconfig.spec
+++ b/fontconfig.spec
@@ -173,6 +173,7 @@ rm -rf $RPM_BUILD_ROOT
 # this needs to be a symlink
 if [ -d %{_sysconfdir}/fonts/conf.avail ] && [ ! -L %{_sysconfdir}/fonts/conf.avail ]; then
 	mv -f %{_sysconfdir}/fonts/conf.avail{,.rpmsave}
+	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
 fi


More information about the pld-cvs-commit mailing list