termux-packages/packages/glib/hooks/postinst.in
Leonid Pliushch 368c09dac2 glib: add hook for glib-compile-schemas
Previously was in gtk2 package.
2020-01-14 00:34:01 +02:00

10 lines
249 B
Bash

#!@TERMUX_PREFIX@/bin/sh
# glib-compile-schemas is located in glib-bin package which
# may not be installed.
if [ -x "$(command -v glib-compile-schemas)" ]; then
glib-compile-schemas "@TERMUX_PREFIX@/share/glib-2.0/schemas" > /dev/null
fi
exit 0