summaryrefslogtreecommitdiffstats
path: root/config/chroot_local-hooks/20-load_gconf_default_settings
blob: 14b02a6dc437600b8438be3cc11cc7f30c6997c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

set -e

# Load GConf settings.

echo "Loading GConf settings"

gct() {
	gconftool-2 \
	   --direct \
	   --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults \
	   "${@}"
}

for file in /usr/share/amnesia/gconf/*.xml ; do
	gct --load "${file}"
done