message: use shouldretry
diff: @@ -37,16 +37,12 @@ export async function downloadAndInstallPackages(packages: AbsolutePathPackage[]
  break;
  }
  else {
  - if (count == 1) {
  - eventStream.post(new IntegrityCheckFailure(pkg.description, pkg.url, true));
  - }
  - else {
  - eventStream.post(new IntegrityCheckFailure(pkg.description, pkg.url, false));
  + let shouldRetry = count == 1;
  + eventStream.post(new IntegrityCheckFailure(pkg.description, pkg.url, shouldRetry));
  break;
  }
  }
  }
  - }
  catch (error) {
  eventStream.post(new InstallationFailure(installationStage, error));
  if (error instanceof NestedError) {
  