aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
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;