void-packages/srcpkgs/glibc32/INSTALL
Juan RP 06f81470b5 glibc32: update to match latest i686 pkg.
--HG--
extra : convert_revision : 078d7f9f1baf9c4fda9d3fd2c848d41a6c02d7ce
2010-01-29 18:46:21 +01:00

18 lines
467 B
Text

#
# This script adds /lib32 and /usr/lib32 into ld.so's cache for
# x86_64 systems.
#
case "${ACTION}" in
post)
if [ ! -d etc/ld.so.conf.d ]; then
mkdir -p etc/ld.so.conf.d
echo "include /etc/ld.so.conf.d/*.conf" >> etc/ld.so.conf
fi
if [ ! -f etc/ld.so.conf.d/glibc32.conf ]; then
echo "/lib32" >> etc/ld.so.conf.d/glibc32.conf
echo "/usr/lib32" >> etc/ld.so.conf.d/glibc32.conf
chmod 644 etc/ld.so.conf.d/glibc32.conf
sbin/ldconfig -r .
fi
;;
esac