alternative.
+Sat Sep 13 14:34:10 CDT 2003 Adam Heath <doogie@debian.org>
+
+ * scripts/update-alternatives.pl: Fix inversion test of $state against
+ 'expected' when removing an alternative.
+
Sat Sep 13 14:31:22 CDT 2003 Adam Heath <doogie@debian.org>
* lib/startup.c, lib/Makefile.in, include/dpkg.h.in: Change
#196361
* Change standard_startup and standard_shutdown into macros. Closes:
#200351.
+ * Sebastian Ley <sebastian.ley@mmweg.rwth-aachen.de>:
+ Fix inversion test of $state against 'expected' when removing an
+ alternative. Closes: #203791.
-- Wichert Akkerman <debian@extern.wiggy.net> UNRELEASED
}
if ($mode eq 'remove') {
- if ($manual eq "manual" and $state ne "expected") {
+ if ($manual eq "manual" and $state eq "expected") {
&pr("Removing manually selected alternative - switching to auto mode");
$manual= "auto";
}