Skip to content

Commit

Permalink
make the warning more intelligible
Browse files Browse the repository at this point in the history
git-svn-id: svn:https://svn.debian.org/cruft/trunk@189 14f89510-8efc-0310-927e-d869d0d96f2b
  • Loading branch information
porridge committed Jul 24, 2008
1 parent ba5725c commit dbcc515
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion explain/ALTERNATIVES
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ while( defined($alternative_file = glob("/var/lib/dpkg/alternatives/*")) )
$alternative{$master}->{files}->[$i] = $slave;
}
}
warn("No alternative declares a file pointed to by master link [$name]: [${winner_name}]"), next unless defined $winner;
warn("Master link \"/etc/alternatives/$name\" points to alternative \"${winner_name}\", but no such alternative is registered, according to \"/var/lib/dpkg/alternatives/$name\". See \"update-alternatives --display $name\"\n"), next unless defined $winner;

# list the symlinks for files the winning alternative provides
for ($i = 0; $i < $num_files; $i++) {
Expand Down

0 comments on commit dbcc515

Please sign in to comment.