--- /usr/bin/xdg-mime 2007-08-28 18:42:10.000000000 +0200 +++ xdg-mime 2007-10-16 11:11:37.000000000 +0200 @@ -476,7 +476,7 @@ { file=`readlink -f "$1"` # Normalize path DEBUG 1 "Running gnomevfs-info \"$file\"" - gnomevfs-info "$file" 2> /dev/null | grep MIME | cut -d ":" -f 2 | sed s/"^ "// + gnomevfs-info "$file" 2> /dev/null | grep "^MIME" | cut -d ":" -f 2 | sed s/"^ "// exit_success }