Fix inverted logic

This commit is contained in:
Jamie Cameron
2014-01-17 09:09:02 -08:00
parent aaf7f55add
commit 829acba84a

View File

@@ -50,11 +50,12 @@ if (!$skip_upgrade) {
if ($mode eq "gentoo") {
push(@opts, [ 4, $text{'upgrade_emerge'} ]);
}
elsif ($mode eq "sun-pkg") {
elsif ($mode ne "sun-pkg") {
push(@opts, [ 2, $text{'upgrade_ftp'} ]);
}
print &ui_table_row($text{'upgrade_src'},
&ui_radio_table("source", $opts[$#opts]->[0], \@opts), undef, [ "valign=top","valign=top" ]);
&ui_radio_table("source", $opts[$#opts]->[0], \@opts), undef,
[ "valign=top","valign=top" ]);
@cbs = ( );
if (!$mode && !$dir) {