From 55dd0dab884d68665ca0be1ad5d34fe6e7f992f8 Mon Sep 17 00:00:00 2001 From: "Helmut K. C. Tessarek" Date: Tue, 14 Jul 2015 13:45:10 -0400 Subject: [PATCH] check also other locations for binary --- Classes/Preferences.m | 2 -- 1 file changed, 2 deletions(-) diff --git a/Classes/Preferences.m b/Classes/Preferences.m index 5d77d03..617f94d 100644 --- a/Classes/Preferences.m +++ b/Classes/Preferences.m @@ -86,7 +86,6 @@ - (void)setBundle:(NSBundle *)aBundle if([fileManager fileExistsAtPath:@"/usr/local/mysql/bin/mysqld"]) location = @"/usr/local/mysql/bin/"; - /* else if ([fileManager fileExistsAtPath:@"/usr/bin/mysqld"]) location = @"/usr/bin/"; else if ([fileManager fileExistsAtPath:@"/bin/mysqld"]) @@ -97,7 +96,6 @@ - (void)setBundle:(NSBundle *)aBundle location = @"/opt/bin/"; else if ([fileManager fileExistsAtPath:@"/opt/local/bin/mysqld"]) location = @"/opt/local/bin/"; - */ [self setObject:location forUserDefaultsKey:@"launchPath"]; }