Previously [EMAIL PROTECTED] wrote:
> Shouldn't "update-alternatives --remove" do its work when the package
> providing the currently selected alternative is being removed, even if
> the alternative is in manual mode?  It could select the highest-priority
> remaining alternative and switch back to auto mode.

It should already do that, with this bit of code:

} elsif ($state eq 'nonexistent') {
    if ($manual eq 'manual') {
        &pr("$altdir/$name has been deleted, returning to automatic selection.")
          if $verbosemode > 0;
        $manual= 'auto';
    }
}

does that not work for you?

Wichert.

-- 
  _________________________________________________________________
 /[EMAIL PROTECTED]         This space intentionally left occupied \
| [EMAIL PROTECTED]            http://www.liacs.nl/~wichert/ |
| 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0  2805 3CB8 9250 2FA3 BC2D |


Reply via email to