@ -24,8 +24,11 @@
umask 022
umask 022
SCHEMA_DIR=/etc/D_prefix/gconf/schemas
SCHEMA_DIR=/etc/D_prefix/gconf/schemas
export GCONF_CONFIG_SOURCE="`/D_prefix/bin/gconftool-2 --get-default-source`"
export GCONF_CONFIG_SOURCE="`/D_prefix/bin/gconftool-2 --get-default-source`"
echo "(Re-)Generating Gnomem gconf schemes ..."
while read schema; do
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 < <(
done < <(
if [ -f $SCHEMA_DIR/.stamp ]; then
if [ -f $SCHEMA_DIR/.stamp ]; then
find $SCHEMA_DIR -newer $SCHEMA_DIR/.stamp -name "*.schemas"
find $SCHEMA_DIR -newer $SCHEMA_DIR/.stamp -name "*.schemas"
@ -35,5 +38,7 @@ done < <(
touch $SCHEMA_DIR/.stamp
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 d | xargs chmod 0755
find /etc/D_prefix/gconf -type f | xargs chmod 0644
find /etc/D_prefix/gconf -type f | xargs chmod 0644