1 # If the .gconf directory already exists, merge it in a single tree.
2 # Otherwise, create %gconf-tree.xml so that a single tree is always
5 if [ -x /usr/bin/gconf-merge-tree ]; then
6 GCONF_DIR="$HOME/.gconf"
7 GCONF_TREE="$GCONF_DIR/%gconf-tree.xml"
8 GCONF_DONT="$GCONF_DIR/DONT-MIGRATE"
10 if [ -d "$GCONF_DIR" ]
12 if [ ! -f "$GCONF_TREE" ] && [ ! -f "$GCONF_DONT" ]
14 /usr/bin/gconf-merge-tree "$GCONF_DIR"
15 killall -q -u "$USER" -s HUP gconfd-2 >/dev/null 2>&1 || true
18 mkdir -p -m 700 "$GCONF_DIR"
20 chmod 600 "$GCONF_TREE"