diff options
| author | Thomas Schmucker <ts@its1.de> | 2026-07-24 10:23:34 +0200 |
|---|---|---|
| committer | Thomas Schmucker <ts@its1.de> | 2026-07-24 10:23:34 +0200 |
| commit | c1e4fdb0b9eaf0a6ff2f73ae732970e9b956b05f (patch) | |
| tree | c96f6a47dd3aff8983a18709fa362db78498fbab | |
| parent | 3c5212f19dbbacb831a73e2f3b5efa8e8f70fc8e (diff) | |
| download | dotfiles-c1e4fdb0b9eaf0a6ff2f73ae732970e9b956b05f.tar.gz dotfiles-c1e4fdb0b9eaf0a6ff2f73ae732970e9b956b05f.tar.bz2 dotfiles-c1e4fdb0b9eaf0a6ff2f73ae732970e9b956b05f.zip | |
bootstrap-win: Parser-Fehler durch $Id: in String behoben
"$Id: ..." wird von PowerShell als Scope-Qualifizierer (wie $env:)
fehlinterpretiert, wenn direkt ein Doppelpunkt folgt - Praxistest zeigte
den Parser-Fehler 'Ungueltiger Variablenverweis'. Behoben mit ${Id}:.
Restliche Datei auf dasselbe Muster geprueft, keine weiteren Treffer.
| -rw-r--r-- | bootstrap-win/neovim.ps1 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstrap-win/neovim.ps1 b/bootstrap-win/neovim.ps1 index cc598de..77abf83 100644 --- a/bootstrap-win/neovim.ps1 +++ b/bootstrap-win/neovim.ps1 | |||
| @@ -111,7 +111,7 @@ function Install-WingetPackage([string]$Binary, [string]$Id) { | |||
| 111 | if (Test-CommandExists $Binary) { | 111 | if (Test-CommandExists $Binary) { |
| 112 | Write-Ok "$Id ('$Binary' in $dir gefunden, User-PATH ergaenzt)" | 112 | Write-Ok "$Id ('$Binary' in $dir gefunden, User-PATH ergaenzt)" |
| 113 | } else { | 113 | } else { |
| 114 | Write-Warn "$Id: $dir zum User-PATH hinzugefuegt, aber '$Binary' laesst sich immer noch nicht ausfuehren - manuell pruefen." | 114 | Write-Warn "${Id}: $dir zum User-PATH hinzugefuegt, aber '$Binary' laesst sich immer noch nicht ausfuehren - manuell pruefen." |
| 115 | } | 115 | } |
| 116 | } else { | 116 | } else { |
| 117 | Write-Warn "$Id ist laut winget bereits installiert, aber '$Binary' wurde nicht gefunden und konnte auch nicht automatisch lokalisiert werden (durchsucht: Program Files, Program Files (x86), $env:LOCALAPPDATA\Programs). Installationsordner manuell suchen und zum PATH hinzufuegen." | 117 | Write-Warn "$Id ist laut winget bereits installiert, aber '$Binary' wurde nicht gefunden und konnte auch nicht automatisch lokalisiert werden (durchsucht: Program Files, Program Files (x86), $env:LOCALAPPDATA\Programs). Installationsordner manuell suchen und zum PATH hinzufuegen." |
