summaryrefslogtreecommitdiff
path: root/devel/glib2/INSTALL
blob: c068471e20df0ce85e6bed51ab64cbacd19f15e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
#
# $NetBSD: INSTALL,v 1.1 2011/02/20 17:40:54 jmmv Exp $
#
# Generate caches after installing the glib2 package.  This is theorically
# not needed for a fresh install but is required for in-place updates to
# work correctly.

GIO_MODULES_DIR="@GIO_MODULES_DIR@"
GIO_QUERYMODULES="@GIO_QUERYMODULES@"
GLIB_COMPILE_SCHEMAS="@GLIB_COMPILE_SCHEMAS@"
GLIB_SCHEMAS_DIR="@GLIB_SCHEMAS_DIR@"

case ${STAGE} in
POST-INSTALL)
	"${GIO_QUERYMODULES}" "${GIO_MODULES_DIR}"
	XDG_DATA_DIRS= "${GLIB_COMPILE_SCHEMAS}" "${GLIB_SCHEMAS_DIR}"
	;;
esac