再次嘗試使用腳本安裝

This commit is contained in:
2025-05-04 18:16:35 +08:00
parent e9418b1ad9
commit 613f06fe4f
2 changed files with 3 additions and 18 deletions

View File

@@ -9,9 +9,9 @@
{{/* 其他自訂手動安裝腳本: */ -}}
{{/* 手動安裝 zsh */ -}}
# if command -v zsh &> /dev/null; then
# sh -c "$(curl -fsSL https://raw.githubusercontent.com/romkatv/zsh-bin/master/install)" -- -d ~/.local -e no
# fi
if ! command -v zsh &> /dev/null; then
sh -c "$(curl -fsSL https://raw.githubusercontent.com/romkatv/zsh-bin/master/install)" -- -d ~/.local -e no
fi
{{/* **** Root Mode ***************************************************** */ -}}
{{ else -}}