From aa4165f89604d8453ad8e393929660fa462a2a97 Mon Sep 17 00:00:00 2001 From: Rene Rebe Date: Thu, 10 Jun 2004 08:16:44 +0000 Subject: [PATCH] Rene Rebe: * silenced very annoying Gnome gconf output in gconf.cron (maybe I should just disable this annoying Gnome in the desktop target in a future version ...) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@3175 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/gnome2/gconf/gconf.cron | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 +