From f7d7b13c822598eadf8a37b288cc010fffce557c Mon Sep 17 00:00:00 2001 From: Kinshuk Bairagi Date: Tue, 22 Mar 2022 22:44:31 +0530 Subject: [PATCH] Update install.ps1 --- lib/install.ps1 | 7 ------- 1 file changed, 7 deletions(-) diff --git a/lib/install.ps1 b/lib/install.ps1 index 32df612df7..f8b3083487 100644 --- a/lib/install.ps1 +++ b/lib/install.ps1 @@ -1273,11 +1273,9 @@ function test_running_process($app, $global) { function Test-IsInsideContainer { $foundService = Get-Service -Name cexecsvc -ErrorAction SilentlyContinue if ( $foundService -eq $null ) { - Write-Host "Test-IsInsideContainer Result = false" $false } else { - Write-Host "Test-IsInsideContainer Result = true" $true } } @@ -1285,14 +1283,9 @@ function Test-IsInsideContainer { # wrapper function to create junction links # Required to handle docker/for-win#12240 function New-DirectoryJunction($source, $target) { - Write-Host "Linking.. $source " - Write-Host "to" - Write-Host "taget = $target" if (Test-IsInsideContainer) { - Write-Host "Calling mklink $env:COMSPEC /C mklink /J $source $target" & "$env:COMSPEC" /c "mklink /j `"$source`" `"$target`"" | out-null } else { - Write-Host "Calling New-Item" New-Item -Path $source -ItemType Junction -Value $target | Out-Null } attrib $source +R /L