--- ./oschooser.pl.gege Wed Mar 28 01:32:37 2001 +++ ./oschooser.pl Wed Apr 25 17:41:05 2001 @@ -31,9 +31,16 @@ } if (!$ver) { if ($auto == 1) { - # Failed .. give up - print "Failed to detect operating system\n"; - exit 1; +# # Failed .. give up +# print "Failed to detect operating system\n"; +# exit 1; +# +# ######### (gc) Do not give up but use the latest release of Mandrakelinux + foreach $o (@list) { + $ver = $o + if ($o->[0] eq "Mandrakelinux" && (!$ver || $ver->[1] < $o->[1])); + } + print "WARNING: could not guess OS, falling back to $ver->[0] version $ver->[1]\n"; } else { # Ask the user