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] [data]
privateDomain = {{ $privateDomain | quote }} privateDomain = {{ $privateDomain | quote }}
chassis = {{ $chassisType | quote }} chassis = {{ $chassisType | quote }}
wsl = {{ $wsl | quote }} wsl = {{ $wsl }}
[diff]
scriptContents = false
[data.cpu] [data.cpu]
cores = {{ $cpuCores }} cores = {{ $cpuCores }}

View File

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