aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2011-01-05 13:15:20 +0000
committerBibiko <bibiko@eva.mpg.de>2011-01-05 13:15:20 +0000
commitd9874d3a3188897a9e898ca5cb3aa3c94e2d765a (patch)
tree36f2a3aa0d2b75e668276fad52eec464e3e1354d /Source
parent7415fbd1d1bd93881899732590ceee55d8891aff (diff)
downloadsequelpro-d9874d3a3188897a9e898ca5cb3aa3c94e2d765a.tar.gz
sequelpro-d9874d3a3188897a9e898ca5cb3aa3c94e2d765a.tar.bz2
sequelpro-d9874d3a3188897a9e898ca5cb3aa3c94e2d765a.zip
• fixed bug for re-copying default bundles after launching SP
Diffstat (limited to 'Source')
-rw-r--r--Source/SPAppController.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPAppController.m b/Source/SPAppController.m
index ca8c3dcc..c9fc9b01 100644
--- a/Source/SPAppController.m
+++ b/Source/SPAppController.m
@@ -1405,7 +1405,7 @@
if([cmdData objectForKey:SPBundleFileUUIDKey] && [[cmdData objectForKey:SPBundleFileUUIDKey] length]) {
- if(processDefaultBundles) {
+ if(doBundleUpdate && processDefaultBundles) {
// Skip deleted default Bundles
BOOL bundleWasDeleted = NO;
@@ -1421,7 +1421,7 @@
// If default Bundle is already install check for possible update,
// if so duplicate the modified one by appending (user) and updated it
- if(doBundleUpdate && [installedBundleUUIDs objectForKey:[cmdData objectForKey:SPBundleFileUUIDKey]]) {
+ if([installedBundleUUIDs objectForKey:[cmdData objectForKey:SPBundleFileUUIDKey]]) {
NSString *oldPath = [NSString stringWithFormat:@"%@/%@/%@", [bundlePaths objectAtIndex:0], bundle, SPBundleFileName];
NSError *readError = nil;