packages: gtk+2/gtk+2.spec - extra check in postun as the config dir is arc...
glen
glen at pld-linux.org
Thu Aug 27 17:11:50 CEST 2009
Author: glen Date: Thu Aug 27 15:11:50 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- extra check in postun as the config dir is arch dependant; rel 2
---- Files affected:
packages/gtk+2:
gtk+2.spec (1.304 -> 1.305)
---- Diffs:
================================================================
Index: packages/gtk+2/gtk+2.spec
diff -u packages/gtk+2/gtk+2.spec:1.304 packages/gtk+2/gtk+2.spec:1.305
--- packages/gtk+2/gtk+2.spec:1.304 Wed Aug 12 13:27:10 2009
+++ packages/gtk+2/gtk+2.spec Thu Aug 27 17:11:45 2009
@@ -21,7 +21,7 @@
Summary(tr.UTF-8): GIMP ToolKit arayüz kitaplığı
Name: gtk+2
Version: 2.16.5
-Release: 1.1
+Release: 2
Epoch: 2
License: LGPL v2+
Group: X11/Libraries
@@ -301,8 +301,13 @@
/sbin/ldconfig
if [ "$1" != "0" ]; then
umask 022
- %{_bindir}/gdk-pixbuf-query-loaders%{pqext} > %{_sysconfdir}/gdk-pixbuf.loaders
- %{_bindir}/gtk-query-immodules-2.0%{pqext} > %{_sysconfdir}/gtk.immodules
+ # we need to check for dir existence for multilib installs as the $1 is 1
+ # if we remove the other arch pkg will be still present.
+ # i.e we have installed gtk+2-2.16.5-1.x86_64 and gtk+2-2.16.5-1.i686, and remove gtk+2-2.16.5-1.i686
+ if [ -d %{_sysconfdir} ]; then
+ %{_bindir}/gdk-pixbuf-query-loaders%{pqext} > %{_sysconfdir}/gdk-pixbuf.loaders
+ %{_bindir}/gtk-query-immodules-2.0%{pqext} > %{_sysconfdir}/gtk.immodules
+ fi
fi
exit 0
@@ -431,6 +436,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.305 2009/08/27 15:11:45 glen
+- extra check in postun as the config dir is arch dependant; rel 2
+
Revision 1.304 2009/08/12 11:27:10 uzsolt
- gtk-builder-convert patch
- rel 1.1
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gtk+2/gtk+2.spec?r1=1.304&r2=1.305&f=u
More information about the pld-cvs-commit
mailing list