On 23:26 Tue 17 Mar , Beso wrote: > fgrep -rZl /usr/lib/libxcb-xlib.la /usr/lib* /usr/kde/*/lib* | xargs > -0 sed -i -e 's:/usr/lib/libxcb-xlib.la::g'
Here's the bashlet I'm testing for Gentoo. It reads through
/etc/ld.so.conf to get library directories in hopes of doing a better
job of finding them all than a hard-coded list does:
while read line; do
if [[ -d ${line} ]]; then
sed -i \
-e "s:[^[:space:]]*libxcb-xlib.la::g" \
"${line}"/*.la 2>/dev/null
fi
done < /etc/ld.so.conf
--
Thanks,
Donnie
Donnie Berkholz
X team lead, Gentoo Linux
Blog: http://dberkholz.wordpress.com
pgpKHQSnYfosc.pgp
Description: PGP signature
_______________________________________________ xorg mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/xorg
