Skip to content

Commit

Permalink
check also other locations for binary
Browse files Browse the repository at this point in the history
  • Loading branch information
tessus committed Jul 14, 2015
1 parent 120b4ab commit 55dd0da
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Classes/Preferences.m
Original file line number Diff line number Diff line change
Expand Up @@ -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"])
Expand All @@ -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"];
}
Expand Down

0 comments on commit 55dd0da

Please sign in to comment.