tags 604192 patch
thanks

os-prober wouldn't detect installed MacOS because it missed actual mount
point of the tested partition. Variable '$dir' was always empty.

diff -Nru ./os-probes/mounted/m68k/10macos6-9 ../os-prober-1.40/os-probes/mounted/m68k/10macos6-9
--- ./os-probes/mounted/m68k/10macos6-9	2010-02-10 18:06:57.000000000 -0500
+++ ../os-prober-1.40/os-probes/mounted/m68k/10macos6-9	2010-11-20 22:39:12.000000000 -0500
@@ -13,7 +13,7 @@
   hfsplus) debug "Partition is HFS+ (Mac OS 9 only, we hope)" ;;
 esac
 
-if [ -e "$dir/System Folder/System" ]; then
+if [ -e "$mpoint/System Folder/System" ]; then
   label="$(count_next_label MacOS)"
   result "${partition}:Macintosh System 6/7, OS 8/9:${label}:chain"
   exit 0
diff -Nru ./os-probes/mounted/powerpc/10macos6-9 ../os-prober-1.40/os-probes/mounted/powerpc/10macos6-9
--- ./os-probes/mounted/powerpc/10macos6-9	2010-02-10 18:06:57.000000000 -0500
+++ ../os-prober-1.40/os-probes/mounted/powerpc/10macos6-9	2010-11-20 22:39:58.000000000 -0500
@@ -13,7 +13,7 @@
   hfsplus) debug "Partition is HFS+ (Mac OS 9 only, we hope)" ;;
 esac
 
-if [ -e "$dir/System Folder/System" ]; then
+if [ -e "$mpoint/System Folder/System" ]; then
   label="$(count_next_label MacOS)"
   result "${partition}:Macintosh System 6/7, OS 8/9:${label}:macos"
   exit 0

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to