Skip to content

Commit

Permalink
Only copy raw sugars if the dependencies were successful
Browse files Browse the repository at this point in the history
  • Loading branch information
ELLIOTTCABLE committed Jan 3, 2009
1 parent 1b64315 commit c2f42a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Code/YRSugarManagerController.m
Expand Up @@ -103,7 +103,7 @@ - (BOOL)installSugar:(YRSugarRepresentation *)sugar {
NSLog(@"- installSugar:%@ ... dependencies installed successfully", sugar);

SEL selector = NSSelectorFromString([NSString stringWithFormat:@"installSugarFrom%@:", [[sugar downloadFormat] capitalizedString]]);
[self performSelector:selector withObject:sugar];
if(result) result = [self performSelector:selector withObject:sugar];
return result;
}

Expand Down

0 comments on commit c2f42a4

Please sign in to comment.