xbps-src: autodetect gsettings-schemas automatically.

This commit is contained in:
Juan RP 2011-10-05 09:34:48 +02:00
parent 050a7e636f
commit a4c7c4cada

View file

@ -230,6 +230,16 @@ _EOF
fi
fi
#
# Handle gsettings schemas in /usr/share/glib-2.0/schemas with
# gsettings-schemas.
#
if [ -d ${DESTDIR}/usr/share/glib-2.0/schemas ]; then
if find ${DESTDIR}/usr/share/glib-2.0/schemas -type f -name \*.xml 2>&1 >/dev/null; then
_add_trigger gsettings-schemas
fi
fi
# End of trigger var exports.
echo >> $tmpf