termux-packages/packages/glib/hooks/postinst.in

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