From ddd2ab463ef84964dfe39d6e4aa20cae96ec40e4 Mon Sep 17 00:00:00 2001 From: Shannon Date: Wed, 5 Mar 2014 12:44:38 +1100 Subject: [PATCH] Ensures that the starter kit view is not returned if there is one already installed --- .../Install/InstallSteps/StarterKitDownloadStep.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Umbraco.Web/Install/InstallSteps/StarterKitDownloadStep.cs b/src/Umbraco.Web/Install/InstallSteps/StarterKitDownloadStep.cs index 45b42220b7..3df87a3693 100644 --- a/src/Umbraco.Web/Install/InstallSteps/StarterKitDownloadStep.cs +++ b/src/Umbraco.Web/Install/InstallSteps/StarterKitDownloadStep.cs @@ -73,6 +73,11 @@ namespace Umbraco.Web.Install.InstallSteps } + public override string View + { + get { return (InstalledPackage.GetAllInstalledPackages().Count > 0) ? string.Empty : base.View; } + } + public override bool RequiresExecution() { if (InstalledPackage.GetAllInstalledPackages().Count > 0)