During an update backup the old addons

Fixes #444
This commit is contained in:
Girish Ramakrishnan
2015-07-20 00:50:36 -07:00
parent df9d321ac3
commit 26fbace897
3 changed files with 10 additions and 8 deletions

View File

@@ -590,7 +590,7 @@ function backupBoxAndApps(callback) {
async.mapSeries(allApps, function iterator(app, iteratorCallback) {
++processed;
apps.backupApp(app, function (error, backupId) {
apps.backupApp(app, app.manifest.addons, function (error, backupId) {
progress.set(progress.BACKUP, step * processed, app.location);
if (error && error.reason === AppsError.BAD_STATE) {