void-packages/common/hooks/post-install/00-lib32.sh
John a93c02d3cc hooks/post-install: do remove lib32 symlink before checking for empty dirs
this resulted in empty i686 packages never getting flagged as empty
since the /usr/lib32 -> lib symlink was only removed after the check
2019-10-22 16:58:09 +02:00

7 lines
145 B
Bash

# This hook removes the /usr/lib32 symlink on x86.
hook() {
if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
rm -f ${PKGDESTDIR}/usr/lib32
fi
}