fix install.sh: 補強若在Synology機器上,因沒有 .chezmoi.osRelease.id 造成執行錯誤
This commit is contained in:
parent
2ddfbab875
commit
d9d8b00cb5
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user