diff --git a/tools/commands-packages.js b/tools/commands-packages.js index 4ead85a34a..a06d29b238 100644 --- a/tools/commands-packages.js +++ b/tools/commands-packages.js @@ -77,7 +77,9 @@ var refreshOfficialCatalogOrDie = function (options) { }; var explainIfRefreshFailed = function (command) { - if (command.catalogRefresh.refreshFailed) { + if (catalog.official.offline) { + Console.info("(But we're offline, so we didn't update the local catalog, so it might exist)"); + } else if (command.catalogRefresh.refreshFailed) { Console.info("(But the update of the local catalog failed, so it might exist)"); } };