From 47aec9768c7ecf1f0fcd025d4dbaf387ee96a580 Mon Sep 17 00:00:00 2001 From: Warren Buckley Date: Tue, 12 Feb 2019 14:11:47 +0000 Subject: [PATCH] Set the packagepath when saving the SK file - as need to know the location when we fetch it in next install step --- src/Umbraco.Web/Install/InstallSteps/StarterKitDownloadStep.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Umbraco.Web/Install/InstallSteps/StarterKitDownloadStep.cs b/src/Umbraco.Web/Install/InstallSteps/StarterKitDownloadStep.cs index 641146fb4a..9232c6b138 100644 --- a/src/Umbraco.Web/Install/InstallSteps/StarterKitDownloadStep.cs +++ b/src/Umbraco.Web/Install/InstallSteps/StarterKitDownloadStep.cs @@ -70,6 +70,8 @@ namespace Umbraco.Web.Install.InstallSteps //add an entry to the installedPackages.config var compiledPackage = _packageService.GetCompiledPackageInfo(packageFile); var packageDefinition = PackageDefinition.FromCompiledPackage(compiledPackage); + packageDefinition.PackagePath = packageFile.FullName; + _packageService.SaveInstalledPackage(packageDefinition); InstallPackageFiles(packageDefinition, compiledPackage.PackageFile);