--- os-prober/os-probes/mounted/common/90linux-distro.orig	2009-12-29 22:59:21.029955202 +0100
+++ os-prober/os-probes/mounted/common/90linux-distro	2009-12-29 23:00:02.541193540 +0100
@@ -13,7 +13,7 @@
 # better. Make sure this test has a high number so that more accurate tests
 # can come first.
 # TODO: look for ld-linux.so on arches that have it
-if ls $dir/lib/ld*.so* >/dev/null 2>/dev/null; then
+if ls $dir/lib*/ld*.so* >/dev/null 2>/dev/null; then
 	if [ -e "$dir/etc/debian_version" ]; then
 		short="Debian"
 		long=$(printf "Debian GNU/Linux (%s)\n" "$(cat $dir/etc/debian_version)")
