On Fri, 08 Sep 2000, I wrote:
> /usr/sbin/chksession line 79 has commas where there should be semicolons.
> If you're using KDE 1.1.2 as I do, this results in a long row of
> comma-separated display managers instead of a drop-down list when kdm
> appears, and you can't choose any of them.  This is not good.
> 
> Line 79 should be as follows:
>   for(@lf) { $session .= /$lf[-1]/ ? "$_;failsafe;default" : "$_;"  }

Would it be possible to do something like this?
if ($kdm) {
  if installed KDE version = 1.*; then { 
    $session="SessionTypes=";
    for(@lf) { $session .= /$lf[-1]/ ? "$_;failsafe;default" : "$_;"  }
    print "$session\n";
    exit(0);
  }
  else {
    $session="SessionTypes=";
    for(@lf) { $session .= /$lf[-1]/ ? "$_,failsafe,default" : "$_,"  }
    print "$session\n";
    exit(0);
  }
}
-- 

------------------------------------------------------
 Peter Ruskin          <[EMAIL PROTECTED]>
 Wrexham, UK          KDE - the professionals' choice
------------------------------------------------------

Reply via email to