Skip to content

Commit

Permalink
Comment out assets we can't use yet so they aren't downloaded
Browse files Browse the repository at this point in the history
  • Loading branch information
rpetrich committed Jan 23, 2012
1 parent b1c77d2 commit ec7d182
Show file tree
Hide file tree
Showing 3 changed files with 396 additions and 396 deletions.
4 changes: 2 additions & 2 deletions Installer/Installer.m
Expand Up @@ -55,7 +55,7 @@ - (NSArray *)directories {

for (NSString *file in files) {
NSString *trimmedFile = [file stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceCharacterSet]];
if ([trimmedFile length] && [trimmedFile hasSuffix:@"/"]) {
if ([trimmedFile length] && [trimmedFile hasSuffix:@"/"] && ![trimmedFile hasPrefix:@"#"]) {
[valid addObject:trimmedFile];
}
}
Expand All @@ -76,7 +76,7 @@ - (NSArray *)files {

for (NSString *file in files) {
NSString *trimmedFile = [file stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceCharacterSet]];
if ([trimmedFile length] && ![trimmedFile hasSuffix:@"/"]) {
if ([trimmedFile length] && ![trimmedFile hasSuffix:@"/"] && ![trimmedFile hasPrefix:@"#"]) {
[valid addObject:trimmedFile];
}
}
Expand Down
4 changes: 2 additions & 2 deletions Installer/Remover.m
Expand Up @@ -34,7 +34,7 @@ - (NSArray *)directories {

for (NSString *file in files) {
NSString *trimmedFile = [file stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceCharacterSet]];
if ([trimmedFile length] && [trimmedFile hasSuffix:@"/"]) {
if ([trimmedFile length] && [trimmedFile hasSuffix:@"/"] && ![trimmedFile hasPrefix:@"#"]) {
[valid addObject:trimmedFile];
}
}
Expand All @@ -55,7 +55,7 @@ - (NSArray *)files {

for (NSString *file in files) {
NSString *trimmedFile = [file stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceCharacterSet]];
if ([trimmedFile length] && ![trimmedFile hasSuffix:@"/"]) {
if ([trimmedFile length] && ![trimmedFile hasSuffix:@"/"] && ![trimmedFile hasPrefix:@"#"]) {
[valid addObject:trimmedFile];
}
}
Expand Down

0 comments on commit ec7d182

Please sign in to comment.