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
This commit is contained in:
parent
27dc7e0bf6
commit
a93c02d3cc
1 changed files with 0 additions and 0 deletions
7
common/hooks/post-install/00-lib32.sh
Normal file
7
common/hooks/post-install/00-lib32.sh
Normal file
|
@ -0,0 +1,7 @@
|
|||
# This hook removes the /usr/lib32 symlink on x86.
|
||||
|
||||
hook() {
|
||||
if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
|
||||
rm -f ${PKGDESTDIR}/usr/lib32
|
||||
fi
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue