summaryrefslogtreecommitdiffstats
path: root/scripts/postinst-intercepts/update_gio_module_cache
blob: c87fa85db9eca3470099faff3b29aeb6efa7146b (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
#
# SPDX-License-Identifier: MIT
#

set -e

PSEUDO_UNLOAD=1 ${binprefix}qemuwrapper -L $D $D${libexecdir}/${binprefix}gio-querymodules $D${libdir}/gio/modules/

[ ! -e $D${libdir}/gio/modules/giomodule.cache ] ||
	chown root:root $D${libdir}/gio/modules/giomodule.cache