vp-build/common/hooks/post-install/00-lib32.sh
2019-12-15 09:17:51 +01:00

9 lines
197 B
Bash

# This hook removes the /usr/lib32 symlink on 32-bit systems.
hook() {
if [ "$XBPS_TARGET_WORDSIZE" = "32" ] && \
[ "${pkgname}" != "base-files" ]; then
rm -f ${PKGDESTDIR}/usr/lib32
fi
}