Updating the install ps1 to only copy over the web.config on initial install to ensure that the web.config is correct.

This commit is contained in:
Morten Christensen
2014-03-20 14:00:07 +01:00
parent a6d24fce93
commit bfaace373c

View File

@@ -3,7 +3,7 @@ param($rootPath, $toolsPath, $package, $project)
if ($project) {
# Copy umbraco files from package to project folder
$projectDestinationPath = Split-Path $project.FullName -Parent
$umbracoFilesPath = Join-Path $rootPath "UmbracoFiles\*"
$umbracoFilesPath = Join-Path $rootPath "UmbracoFiles\Web.config"
Copy-Item $umbracoFilesPath $projectDestinationPath -recurse -force
# Open readme.txt file