return;
}
// this is a newer version, so continue with upgrade
logger.info("Upgrading package " + packageName + " from installed version " + installedPackage.getPackageVersion()
+ " to new version " + pkgContext.getPackageVersion());
UnInstallOptions uninstallOptions = new DefaultUnInstallOptions();
uninstallOptions.setForcedUnInstall(true);
removePackage(packageName, uninstallOptions);
}
// now install new version
this.installPackage(pkgContext, new DefaultInstallOptions());