xbps-src: fix hooks that are expected to be used in subpkgs.
This commit is contained in:
@@ -2,6 +2,6 @@
|
||||
|
||||
hook() {
|
||||
if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
|
||||
rm -f ${DESTDIR}/usr/lib32
|
||||
rm -f ${PKGDESTDIR}/usr/lib32
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -3,6 +3,6 @@
|
||||
hook() {
|
||||
if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
|
||||
vmkdir usr/lib
|
||||
ln -sf lib ${DESTDIR}/usr/lib32
|
||||
ln -sf lib ${PKGDESTDIR}/usr/lib32
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user