2019-12-15 00:40:22 +01:00
|
|
|
# This hook removes the /usr/lib32 symlink on 32-bit systems.
|
2014-04-05 11:52:22 +02:00
|
|
|
|
|
|
|
hook() {
|
2019-12-15 00:40:22 +01:00
|
|
|
if [ "$XBPS_TARGET_WORDSIZE" = "32" ] && \
|
|
|
|
[ "${pkgname}" != "base-files" ]; then
|
2015-01-14 14:22:18 +01:00
|
|
|
rm -f ${PKGDESTDIR}/usr/lib32
|
2014-04-05 11:52:22 +02:00
|
|
|
fi
|
|
|
|
}
|