check version of existing infra

This commit is contained in:
Girish Ramakrishnan
2016-05-29 21:58:04 -07:00
parent 564d61bcf5
commit e9b3e22e86
+1 -1
View File
@@ -48,7 +48,7 @@ function initialize(callback) {
stopContainers,
startAddons,
removeOldImages,
existingInfra ? apps.configureInstalledApps : apps.restoreInstalledApps,
existingInfra.version === 'none' ? apps.restoreInstalledApps : apps.configureInstalledApps,
loadAddonVars,
mailboxes.setupAliases,
fs.writeFile.bind(fs, paths.INFRA_VERSION_FILE, JSON.stringify(infra))