xbps-src: autodetect gsettings-schemas automatically.
This commit is contained in:
parent
050a7e636f
commit
a4c7c4cada
1 changed files with 10 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue