diff options
author | kylo252 <[email protected]> | 2021-10-30 14:43:29 +0200 |
---|---|---|
committer | kylo252 <[email protected]> | 2021-10-30 14:44:24 +0200 |
commit | 17648e5a07f8c4fe851b09f3037db58c73fe292f (patch) | |
tree | 6ef8f701b823e5d4f61945142eb7ceec2581ead4 /utils/installer/install.ps1 | |
parent | 1f2167df0ea3f837c9c78a0137a888ca05e5e83a (diff) | |
parent | c4a85b32752e1ca41c6d9a2613b9d2e75dbf463d (diff) |
Merge branch 'rolling'
Diffstat (limited to 'utils/installer/install.ps1')
-rw-r--r-- | utils/installer/install.ps1 | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/utils/installer/install.ps1 b/utils/installer/install.ps1 index 4ec499c6..c46bbfc2 100644 --- a/utils/installer/install.ps1 +++ b/utils/installer/install.ps1 @@ -222,8 +222,11 @@ function setup_lvim() { New-Item "$env:LUNARVIM_CONFIG_DIR" -ItemType Directory } - Copy-Item "$env:LUNARVIM_RUNTIME_DIR\lvim\utils\installer\config.example-no-ts.lua" ` - "$env:LUNARVIM_CONFIG_DIR\config.lua" + if (Test-Path "$env:LUNARVIM_CONFIG_DIR\config.lua") { + Remove-Item -Force "$env:LUNARVIM_CONFIG_DIR\config.lua" + } + + Out-File -FilePath "$env:LUNARVIM_CONFIG_DIR\config.lua" Write-Output "Packer setup complete" |