]> git.pld-linux.org Git - packages/GConf2.git/blob - GConf2-reload.patch
- reload gconfd-2 after schema is installed/updated (from fedora)
[packages/GConf2.git] / GConf2-reload.patch
1 Index: gconf/gconf/gconftool.c
2 ===================================================================
3 RCS file: /cvs/gnome/gconf/gconf/gconftool.c,v
4 retrieving revision 1.102
5 diff -d -u -p -U10 -r1.102 gconftool.c
6 --- gconf/gconf/gconftool.c     3 Jan 2006 17:05:28 -0000       1.102
7 +++ gconf/gconf/gconftool.c     1 Feb 2006 18:34:36 -0000
8 @@ -881,32 +881,36 @@ main (int argc, char** argv)
9    if (makefile_install_mode)
10      {
11        const gchar** args = poptGetArgs(ctx);
12        gint retval;
13  
14        umask (022);
15        retval = do_makefile_install (conf, args, FALSE);
16        
17        gconf_engine_unref (conf);
18  
19 +      g_spawn_command_line_sync ("/usr/bin/killall -q -TERM " GCONF_SERVERDIR "/" GCONFD, NULL, NULL, NULL, NULL);
20 +
21        return retval;
22      }
23  
24    if (makefile_uninstall_mode)
25      {
26        const gchar** args = poptGetArgs(ctx);
27        gint retval;
28  
29        umask (022);
30        retval = do_makefile_install (conf, args, TRUE);
31        
32        gconf_engine_unref (conf);
33 +
34 +      g_spawn_command_line_sync ("/usr/bin/killall -q -TERM " GCONF_SERVERDIR "/" GCONFD, NULL, NULL, NULL, NULL);
35  
36        return retval;
37      }
38  
39    if (break_key_mode)
40      {
41        const gchar** args = poptGetArgs(ctx);
42        gint retval = do_break_key(conf, args);
43  
44        gconf_engine_unref(conf);
This page took 0.072934 seconds and 4 git commands to generate.