1
0
Fork 0
mirror of https://github.com/xHyroM/void-packages.git synced 2024-12-23 12:41:05 +01:00
void-packages/common/hooks/post-install/00-fixup-gir-path.sh
2024-03-29 08:12:19 +01:00

11 lines
401 B
Bash

# 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"
}