1
0
Derivar 0

Streamline setting of /home/szmedia/.local/share/powershell/Scripts during _setup

Este cometimento está contido em:
lksz 2020-10-02 14:16:23 -04:00
ascendente a4c4334550
cometimento e14f00d98d
1 ficheiros modificados com 2 adições e 2 eliminações

Ver ficheiro

@ -40,6 +40,8 @@ Get-Command Reload-MyScripts -ErrorAction SilentlyContinue | ForEach-Object { .
## _Setup Logic starts here
#######################################################################
. ProfileCode_common
if ( -not $NoGitClone -and -not (Test-Path $(Join-Path $MyPSScriptRoot '.git')) ) {
if ( -not [bool]$(Get-Command git -ErrorAction SilentlyContinue) ) {
throw "No git command found, you may either omit run with the -NoGitClone switch or install git and try again."
@ -409,8 +411,6 @@ $p = @($p[0], $MyPSScriptRoot) + $($p | Select-Object -Skip 1)
$env:PATH = $p -join $PathEnvDelimiter
}
. ProfileCode_common
$SetupFromWeb = [bool]$(@( $SetupFromWeb, $sfw, $LoadCode ) | Where-Object { $_ })
if ( -not $SetupFromWeb ) {