xbps-src: autodetect pkgs that need gio-modules trigger automatically.

This commit is contained in:
Juan RP 2011-10-05 11:00:03 +02:00
parent 66f4b582f6
commit f43f1c9e0d

View File

@ -230,6 +230,15 @@ _EOF
fi
fi
#
# Handle gio-modules trigger.
#
if [ -d ${DESTDIR}/usr/lib/gio/modules ]; then
if find ${DESTDIR}/usr/lib/gio/modules -type f -name \*.so 2>&1 >/dev/null; then
_add_trigger gio-modules
fi
fi
#
# Handle gsettings schemas in /usr/share/glib-2.0/schemas with
# gsettings-schemas.