Fixing Bug #421608: "Update fails if more than one .app exists in the archive"

This commit is contained in:
Andy Matuschak committed 2009-08-30 20:24:28 -07:00
1 parent 8ea15468b4
commit e7435964a2
1 file changed
+2 -7
+2 -7
View File
@@ -68,14 +68,9 @@
}
}
// Some DMGs have symlinks into /Applications! That's no good! And there's no point in looking in bundles.
if ([self _isAliasFolderAtPath:currentPath] ||
[[currentFile pathExtension] isEqualToString:[[host bundlePath] pathExtension]] ||
[[currentFile pathExtension] isEqualToString:@"pkg"] ||
[[currentFile pathExtension] isEqualToString:@"mpkg"])
{
// Some DMGs have symlinks into /Applications! That's no good!
if ([self _isAliasFolderAtPath:currentPath])
[dirEnum skipDescendents];
}
}
if (newAppDownloadPath == nil)