]> err.no Git - dpkg/commit
* scripts/update-alternatives.pl: Check if '$alink' is defined before
authorGuillem Jover <guillem@debian.org>
Sat, 17 Feb 2007 18:06:17 +0000 (18:06 +0000)
committerGuillem Jover <guillem@debian.org>
Sat, 17 Feb 2007 18:06:17 +0000 (18:06 +0000)
commit6886bb813856eabf8bd18cd65000b6342eab65bf
treeb3fd45aa193ba91c59733942d2cd33a07a1b7f30
parentb9db2fbc83285037b21cc583daaa2fdb0afae710
* scripts/update-alternatives.pl: Check if '$alink' is defined before
using '$aslavelinkcount{$alink}'. Only read_link_group if '$mode' is
not 'install'.
($dataread): Remove now unused variable.
(read_link_group): New function (refactored).
(find_best_version): Likewise.
(display_link_group): Likewise.
(list_link_group): Likewise.
(config_all): Move exit to outside the function.
ChangeLog
scripts/update-alternatives.pl