diff --git a/package/gnome2/gconf/gconf.cron b/package/gnome2/gconf/gconf.cron index 25472a457..5995d82b4 100644 --- a/package/gnome2/gconf/gconf.cron +++ b/package/gnome2/gconf/gconf.cron @@ -24,8 +24,11 @@ umask 022 SCHEMA_DIR=/etc/D_prefix/gconf/schemas export GCONF_CONFIG_SOURCE="`/D_prefix/bin/gconftool-2 --get-default-source`" + +echo "(Re-)Generating Gnomem gconf schemes ..." while read schema; do - /D_prefix/bin/gconftool-2 --makefile-install-rule $schema + /D_prefix/bin/gconftool-2 --makefile-install-rule $schema | \ + sed -e '/^[A-Z].*ed schema/d' -e '/[^ ]*/d' done < <( if [ -f $SCHEMA_DIR/.stamp ]; then find $SCHEMA_DIR -newer $SCHEMA_DIR/.stamp -name "*.schemas" @@ -35,5 +38,7 @@ done < <( touch $SCHEMA_DIR/.stamp +echo "Correcting Gnome gconf permissions (installed incorrectly by Gnome) ..." find /etc/D_prefix/gconf -type d | xargs chmod 0755 find /etc/D_prefix/gconf -type f | xargs chmod 0644 +