From d9d8b00cb5817f91ff000e356e58b77ce44fcf6b Mon Sep 17 00:00:00 2001 From: Yuan Chiu Date: Sun, 4 May 2025 15:37:19 +0800 Subject: [PATCH] =?UTF-8?q?fix=20install.sh:=20=E8=A3=9C=E5=BC=B7=E8=8B=A5?= =?UTF-8?q?=E5=9C=A8Synology=E6=A9=9F=E5=99=A8=E4=B8=8A=EF=BC=8C=E5=9B=A0?= =?UTF-8?q?=E6=B2=92=E6=9C=89=20.chezmoi.osRelease.id=20=E9=80=A0=E6=88=90?= =?UTF-8?q?=E5=9F=B7=E8=A1=8C=E9=8C=AF=E8=AA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .chezmoiscripts/run_onchange_after_install.sh.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.chezmoiscripts/run_onchange_after_install.sh.tmpl b/.chezmoiscripts/run_onchange_after_install.sh.tmpl index c344caf..c6cda2d 100644 --- a/.chezmoiscripts/run_onchange_after_install.sh.tmpl +++ b/.chezmoiscripts/run_onchange_after_install.sh.tmpl @@ -10,7 +10,7 @@ if command -v nvim &> /dev/null; then nvim --headless "+Lazy! update" +qa fi -{{ if not .noGUI }} +{{ if and (not .noGUI) (hasKey .chezmoi.osRelease "id") }} {{ if and (eq .chezmoi.os "linux") (stat (print .chezmoi.homeDir "/.winscp")) }} {{ if or (eq .chezmoi.osRelease.id "manjaro") (eq .chezmoi.osRelease.id "arch") }} mkdir -p ~/.winscp