hooks/prepare-32bit: in full mode also preserve usr/lib, moving it to usr/lib32.
This commit is contained in:
parent
ab87c5b360
commit
418aa2f9d3
1 changed files with 7 additions and 1 deletions
|
@ -62,7 +62,13 @@ hook() {
|
||||||
mkdir -p ${destdir32}
|
mkdir -p ${destdir32}
|
||||||
cp -a ${PKGDESTDIR}/* ${destdir32}/
|
cp -a ${PKGDESTDIR}/* ${destdir32}/
|
||||||
# remove symlink
|
# remove symlink
|
||||||
rm ${destdir32}/usr/lib32
|
if [ -h ${destdir32}/usr/lib32 ]; then
|
||||||
|
rm ${destdir32}/usr/lib32
|
||||||
|
fi
|
||||||
|
# if /usr/lib dir exists move it to lib32.
|
||||||
|
if [ -d ${destdir32}/usr/lib ]; then
|
||||||
|
mv ${destdir32}/usr/lib ${destdir32}/usr/lib32
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
if [ ! -d ${destdir32} ]; then
|
if [ ! -d ${destdir32} ]; then
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue