From a471784cf3a8ae403c52746169d9871297633e2b Mon Sep 17 00:00:00 2001 From: Shaun Walker Date: Thu, 6 Aug 2020 16:46:22 -0400 Subject: [PATCH] allow user to reinstall current version --- Oqtane.Server/Infrastructure/InstallationManager.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Oqtane.Server/Infrastructure/InstallationManager.cs b/Oqtane.Server/Infrastructure/InstallationManager.cs index 29ad1a3f..3fbf40cd 100644 --- a/Oqtane.Server/Infrastructure/InstallationManager.cs +++ b/Oqtane.Server/Infrastructure/InstallationManager.cs @@ -181,8 +181,8 @@ namespace Oqtane.Infrastructure } } - // ensure package version is higher than current framework version - if (packageversion != "" && Version.Parse(Constants.Version).CompareTo(Version.Parse(packageversion)) < 0) + // ensure package version is greater than or equal to current framework version + if (packageversion != "" && Version.Parse(Constants.Version).CompareTo(Version.Parse(packageversion)) <= 0) { FinishUpgrade(); }