Added gconf-schemas new trigger.

Two new vars can be used in templates to handle GConf schemas files,
gconf_entries and gconf_schemas.

--HG--
extra : convert_revision : 315756b79166538ef0efae5a70c7ec8d9f7f61d9
This commit is contained in:
Juan RP 2010-04-11 12:50:35 +02:00
parent 163769ee6d
commit ec0f955d70
4 changed files with 114 additions and 1 deletions

View file

@ -198,6 +198,26 @@ _EOF
fi
fi
#
# Handle GConf schemas/entries files with gconf-schemas.
#
if [ -n "${gconf_entries}" -o -n "${gconf_schemas}" ]; then
if find . -type f -name \*.schemas \
-o -name \*.entries 2>&1 >/dev/null; then
_add_trigger gconf-schemas
fi
if [ -n "${gconf_entries}" ]; then
echo "export gconf_entries=\"${gconf_entries}\"" \
>> $tmpf
echo >> $tmpf
fi
if [ -n "${gconf_schemas}" ]; then
echo "export gconf_schemas=\"${gconf_schemas}\"" \
>> $tmpf
echo >> $tmpf
fi
fi
#
# Write the INSTALL/REMOVE package scripts.
#