support/install_command.ps1 in mixlib-install-2.0.0 vs support/install_command.ps1 in mixlib-install-2.0.1
- old
+ new
@@ -100,11 +100,11 @@
Copy-Item $package $chef_omnibus_root -Recurse
return $true
}
-Function Log($m) { Write-Host " $m`n" }
+Function Log($m) { Write-Host " $m" }
function Get-WebContent {
param ($uri, $filepath)
try {
@@ -176,11 +176,11 @@
}
$chef_omnibus_root = Unresolve-Path $chef_omnibus_root
if (Check-UpdateChef $chef_omnibus_root $version) {
- Write-Host "-----> Installing Chef Omnibus ($pretty_version)`n"
+ Write-Host "-----> Installing Chef Omnibus ($pretty_version)"
if ($chef_metadata_url -ne $null) {
$url, $sha256 = Get-ChefMetadata "$chef_metadata_url"
} else {
$url = $chef_msi_url
$sha256 = $null
@@ -188,7 +188,7 @@
$msi = Join-Path $env:temp "$url".Split("/")[-1]
$msi = Unresolve-Path $msi
Download-Chef "$url" $sha256 $msi
Install-Chef $msi $chef_omnibus_root
} else {
- Write-Host "-----> Chef Omnibus installation detected ($pretty_version)`n"
+ Write-Host "-----> Chef Omnibus installation detected ($pretty_version)"
}