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,8 +62,14 @@ hook() {
|
||||||
mkdir -p ${destdir32}
|
mkdir -p ${destdir32}
|
||||||
cp -a ${PKGDESTDIR}/* ${destdir32}/
|
cp -a ${PKGDESTDIR}/* ${destdir32}/
|
||||||
# remove symlink
|
# remove symlink
|
||||||
|
if [ -h ${destdir32}/usr/lib32 ]; then
|
||||||
rm ${destdir32}/usr/lib32
|
rm ${destdir32}/usr/lib32
|
||||||
fi
|
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
|
||||||
if [ ! -d ${destdir32} ]; then
|
if [ ! -d ${destdir32} ]; then
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue