diff --git a/.chezmoiignore b/.chezmoiignore new file mode 100644 index 0000000..eade7e0 --- /dev/null +++ b/.chezmoiignore @@ -0,0 +1 @@ +home/scripts/* diff --git a/home/.chezmoiscripts/run_once_after_10-install-packages.sh.tmpl b/home/.chezmoiscripts/run_once_after_10-install-packages.sh.tmpl index b1a6923..53a88dd 100644 --- a/home/.chezmoiscripts/run_once_after_10-install-packages.sh.tmpl +++ b/home/.chezmoiscripts/run_once_after_10-install-packages.sh.tmpl @@ -14,14 +14,12 @@ err() { } -log "Executing $0" - {{ if (eq .chezmoi.os "linux") -}} {{ if (eq .chezmoi.osRelease.id "manjaro" "arch") -}} log "Begin Arch/Manjaro Linux packages installation" - . {{ .chezmoi.config.sourceDir }}/scripts/archlinux.sh + . {{ .chezmoi.sourceDir }}/scripts/archlinux.sh log "Finish Arch/Manjaro Linux packages installation" diff --git a/scripts/archlinux.sh b/home/scripts/archlinux.sh similarity index 100% rename from scripts/archlinux.sh rename to home/scripts/archlinux.sh diff --git a/scripts/debian.sh b/home/scripts/debian.sh similarity index 100% rename from scripts/debian.sh rename to home/scripts/debian.sh