[packages/gvfs] glib_compile_schemas for smb subpackage

glen glen at pld-linux.org
Sun Mar 16 10:16:17 CET 2014


commit 7e6cd0f7d08d8aec44382110ba4f77c3ccdcef25
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Mar 16 11:14:23 2014 +0200

    glib_compile_schemas for smb subpackage

 gvfs.spec | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/gvfs.spec b/gvfs.spec
index ceb2046..0bacb47 100644
--- a/gvfs.spec
+++ b/gvfs.spec
@@ -367,8 +367,14 @@ killall -USR1 gvfsd >/dev/null 2>&1 || :
 killall -USR1 gvfsd >/dev/null 2>&1 || :
 
 %post smb
+%glib_compile_schemas
 killall -USR1 gvfsd >/dev/null 2>&1 || :
 
+%postun smb
+if [ "$1" = "0" ]; then
+	%glib_compile_schemas
+fi
+
 %files -f gvfs.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README TODO
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gvfs.git/commitdiff/7e6cd0f7d08d8aec44382110ba4f77c3ccdcef25



More information about the pld-cvs-commit mailing list