aboutsummaryrefslogblamecommitdiff
path: root/common/hooks/post-install/00-fixup-gir-path.sh
blob: 6fdb111fa0b6c6ba50e2956e305dd28438fbfc95 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                               
# This hook removes the symlink necessary to fix the wrong install path of
# 'gir' files when cross building packages (see pre-install hook). It's a
# workaround and not a proper fix. Remove it once the root cause of the problem
# is fixed.

# Has to be a low number so it runs before remove-empty-dirs

hook() {
	[ -z "$CROSS_BUILD" ] && return
	rm -f "${PKGDESTDIR}/usr/${XBPS_CROSS_TRIPLET}/usr"
}