1
0
This commit is contained in:
2024-08-03 17:51:49 +02:00
parent 1f0d5fd3dc
commit 100e9745ec
3 changed files with 3 additions and 1 deletions

View File

@@ -0,0 +1,37 @@
#!{{ lookPath "bash" }}
# include lib
. ${CHEZMOI_WORKING_TREE}/scripts/utils.sh
# args
args="--base --zsh"
{{- if (ne .hasNVim false) }}
args="${args} --nvim"
{{- end }}
{{- if (ne .hasLatex false) }}
args="${args} --latex"
{{- end }}
{{ if (eq .chezmoi.os "linux") -}}
{{ if (eq .chezmoi.osRelease.id "manjaro" "arch") -}}
log "Begin Arch/Manjaro Linux packages installation"
. {{ .chezmoi.workingTree }}/scripts/archlinux.sh ${args}
log "Finish Arch/Manjaro Linux packages installation"
{{ else if (eq .chezmoi.osRelease.id "debian" "ubuntu") -}}
log "Begin Debian/Ubuntu Linux packages installation"
err "Don't have any install script for Debian/Ubuntu"
log "Finish Debian/Ubuntu Linux packages installation"
{{- end }}
{{- end }}