xbps-src: autodetect pkgs that need gio-modules trigger automatically.
This commit is contained in:
parent
66f4b582f6
commit
f43f1c9e0d
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue
Block a user