summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rapicault (Ericsson)2013-04-04 16:19:58 (EDT)
committerPascal Rapicault2013-04-04 16:19:58 (EDT)
commit368767b358a6613ad497a924681f1333158ffa0e (patch)
treeb27137f8c78f13d322b2b9dd0b1077b751832df5
parent2be7ca83712e5a5762dcd7cc95244b63e4189cc2 (diff)
downloadrt.equinox.p2-368767b358a6613ad497a924681f1333158ffa0e.zip
rt.equinox.p2-368767b358a6613ad497a924681f1333158ffa0e.tar.gz
rt.equinox.p2-368767b358a6613ad497a924681f1333158ffa0e.tar.bz2
Bug 404816 - [shared][migration] Migration Wizard does not show up
-rw-r--r--bundles/org.eclipse.equinox.p2.ui.sdk.scheduler/src/org/eclipse/equinox/internal/p2/ui/sdk/scheduler/AutomaticUpdateScheduler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.p2.ui.sdk.scheduler/src/org/eclipse/equinox/internal/p2/ui/sdk/scheduler/AutomaticUpdateScheduler.java b/bundles/org.eclipse.equinox.p2.ui.sdk.scheduler/src/org/eclipse/equinox/internal/p2/ui/sdk/scheduler/AutomaticUpdateScheduler.java
index 5c70b94..1ffa1e2 100644
--- a/bundles/org.eclipse.equinox.p2.ui.sdk.scheduler/src/org/eclipse/equinox/internal/p2/ui/sdk/scheduler/AutomaticUpdateScheduler.java
+++ b/bundles/org.eclipse.equinox.p2.ui.sdk.scheduler/src/org/eclipse/equinox/internal/p2/ui/sdk/scheduler/AutomaticUpdateScheduler.java
@@ -183,7 +183,7 @@ public class AutomaticUpdateScheduler implements IStartup {
private boolean isFirstTimeRunningThisSharedInstance(IProvisioningAgent agent, IProfileRegistry registry, IProfile currentProfile) {
long[] history = registry.listProfileTimestamps(currentProfile.getProfileId());
- boolean isInitial = IProfile.STATE_SHARED_INSTALL_VALUE_INITIAL.equals(registry.getProfileStateProperties(currentProfile.getProfileId(), history[0]).get(IProfile.STATE_PROP_SHARED_INSTALL));
+ boolean isInitial = !IProfile.STATE_SHARED_INSTALL_VALUE_INITIAL.equals(registry.getProfileStateProperties(currentProfile.getProfileId(), history[0]).get(IProfile.STATE_PROP_SHARED_INSTALL));
if (isInitial) {
if (AutomaticUpdatePlugin.getDefault().getLastMigration() >= history[0])
return false;