Skip to content

Commit

Permalink
skip if it's not upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
miyagawa committed Feb 28, 2010
1 parent fe817a8 commit 2397acd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/changes
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ sub extract_changes {
my $args = shift;

my $dist = "$args->{meta}->{name}-$args->{local}";
return if $dist eq '-' or $args->{reinstall};
return if !$args->{local} or $args->{reinstall};

eval { require Algorithm::Diff };
if ($@) { $args->{app}->chat("$@\n"); return }
Expand Down

0 comments on commit 2397acd

Please sign in to comment.