common/00-libdir: only create lib{32,64} symlink if not exists
This commit is contained in:
parent
75603afb51
commit
8f8c5789b9
|
@ -1,7 +1,9 @@
|
||||||
# This hook creates the wordsize specific libdir symlink.
|
# This hook creates the wordsize specific libdir symlink.
|
||||||
|
|
||||||
hook() {
|
hook() {
|
||||||
if [ "${pkgname}" != "base-files" ]; then
|
if [ -L ${PKGDESTDIR}/usr/lib${XBPS_TARGET_WORDSIZE} ]; then
|
||||||
|
return 0
|
||||||
|
elif [ "${pkgname}" != "base-files" ]; then
|
||||||
vmkdir usr/lib
|
vmkdir usr/lib
|
||||||
ln -sf lib ${PKGDESTDIR}/usr/lib${XBPS_TARGET_WORDSIZE}
|
ln -sf lib ${PKGDESTDIR}/usr/lib${XBPS_TARGET_WORDSIZE}
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue