Changeset 456

Show
Ignore:
Timestamp:
01/11/07 00:31:20 (6 years ago)
Author:
max
Message:

Prevent a failed component install from being registered with $components

Files:
2 modified

Legend:

Unmodified
Added
Removed
  • applications/shepherd

    r454 r456  
    22 
    33my $progname = 'shepherd'; 
    4 my $version = '0.4.36'; 
     4my $version = '0.4.37'; 
    55 
    66# tv_grab_au 
     
    314314        } 
    315315    } 
    316     elsif ($components->{$proggy}->{disabled} and $components->{$proggy}->{disabled} == 1) 
     316    elsif ($components->{$proggy} and $components->{$proggy}->{disabled} and $components->{$proggy}->{disabled} == 1) 
    317317    { 
    318318        $action = 'DISABLED BY USER'; 
     
    508508        if ((defined $specific_version) && ($specific_version ne "")) { 
    509509            $components_pending_install->{$proggy}->{admin_status} = $statusmsg; 
    510         } else { 
     510        } elsif (defined $components->{$proggy}) { 
    511511            $components->{$proggy}->{admin_status} = $statusmsg; 
    512512        } 
  • status

    r455 r456  
    1 application     shepherd            0.4.36 
     1application     shepherd            0.4.37 
    22grabber         yahoo7widget        1.76 
    33grabber         rex                 3.3.9-r1