mirror of
https://github.com/Baipyrus/dotfiles.git
synced 2024-11-14 23:23:50 +00:00
bugfix: do not exit after creating config directory
This commit is contained in:
parent
090e07f04c
commit
0a9a29c119
@ -76,8 +76,8 @@ function ProcessUrlFiles
|
|||||||
# Ensure the destination directory exists
|
# Ensure the destination directory exists
|
||||||
if (-not (Test-Path $destinationDir))
|
if (-not (Test-Path $destinationDir))
|
||||||
{
|
{
|
||||||
New-Item -ItemType Directory -Path $destinationDir
|
Write-Host "Creating destination directory $destinationDir ..." -ForegroundColor Cyan
|
||||||
return
|
New-Item -ItemType Directory -Path $destinationDir 2>$null
|
||||||
}
|
}
|
||||||
|
|
||||||
# Create temporary directory for curl
|
# Create temporary directory for curl
|
||||||
|
Loading…
Reference in New Issue
Block a user