adium 2987:ab0a21f8b657: Fixed a potential issue with Xtras inst...

commits at adium.im commits at adium.im
Sun Nov 29 22:02:54 UTC 2009


details:	http://hg.adium.im/adium/rev/ab0a21f8b657
revision:	2987:ab0a21f8b657
author:		Evan Schoenberg
date:		Fri Nov 27 20:20:15 2009 -0500

Fixed a potential issue with Xtras installation via adiumxtra:// links on systems with case sensitive file systems
Subject: adium 2988:c611c1e23172: This method is no longer called by us or by Sparkle

details:	http://hg.adium.im/adium/rev/c611c1e23172
revision:	2988:c611c1e23172
author:		Evan Schoenberg
date:		Sun Nov 29 16:06:14 2009 -0600

This method is no longer called by us or by Sparkle

diffs (29 lines):

diff -r c92ebdf0aa81 -r c611c1e23172 Source/AIAdium.m
--- a/Source/AIAdium.m	Fri Nov 27 16:04:18 2009 -0500
+++ b/Source/AIAdium.m	Sun Nov 29 16:06:14 2009 -0600
@@ -1127,11 +1127,6 @@
 	return profileInfo;
 }
 
-- (NSArray *)updaterInfoWithoutProfile
-{
-    return [NSArray arrayWithObjects:UPDATE_GENERATION_DICT, UPDATE_TYPE_DICT, nil];
-}
-
 - (id <SUVersionComparison>)versionComparatorForUpdater:(SUUpdater *)updater
 {
     return self;
diff -r c92ebdf0aa81 -r c611c1e23172 Source/XtrasInstaller.m
--- a/Source/XtrasInstaller.m	Fri Nov 27 16:04:18 2009 -0500
+++ b/Source/XtrasInstaller.m	Sun Nov 29 16:06:14 2009 -0600
@@ -165,8 +165,8 @@
 }
 
 - (void)downloadDidFinish:(NSURLDownload *)download {
-	NSString		*lastPathComponent = [[dest lowercaseString] lastPathComponent];
-	NSString		*pathExtension = [lastPathComponent pathExtension];
+	NSString		*lastPathComponent = [dest lastPathComponent];
+	NSString		*pathExtension = [[lastPathComponent pathExtension] lowercaseString];
 	BOOL			decompressionSuccess = YES, success = NO;
 	
 	if ([pathExtension isEqualToString:@"tgz"] || [lastPathComponent hasSuffix:@".tar.gz"]) {




More information about the commits mailing list