Fix wsl 'quote' filter breaking WSL-specific details, ensure keychain is installed on WSL

This commit is contained in:
2024-11-07 22:13:19 -06:00
parent 731e40d6f4
commit ec4c73f5c4
2 changed files with 5 additions and 1 deletions

View File

@@ -45,7 +45,10 @@ args = [
[data]
privateDomain = {{ $privateDomain | quote }}
chassis = {{ $chassisType | quote }}
wsl = {{ $wsl | quote }}
wsl = {{ $wsl }}
[diff]
scriptContents = false
[data.cpu]
cores = {{ $cpuCores }}

View File

@@ -7,6 +7,7 @@ set -xeu
{{ if .wsl }}
# WSL-specific commands
sudo apt install -y keychain
{{ else }}
# Non-WSL commands
sudo apt install -y xclip xsel