FIX make script not run on headless

This commit is contained in:
Nathan Dwarshuis 2021-06-10 23:59:25 -04:00
parent d6a6d5ae0b
commit fc08e2f1cf
2 changed files with 4 additions and 2 deletions

View File

@ -1,8 +1,8 @@
{{- if ne .chezmoi.hostname "petrucci4prez" }} {{- if ne .chezmoi.hostname "petrucci4prez" }}
.bin .bin
.config .config/**
!.config/private_gnupg !.config/gnupg
!.config/python !.config/python
!.config/zsh !.config/zsh
.config/zsh/dot_zprofile .config/zsh/dot_zprofile

View File

@ -11,6 +11,7 @@
# Configuration is assumed to be handled elsewhere (for now) eg in etckeeper # Configuration is assumed to be handled elsewhere (for now) eg in etckeeper
# or with ansible. # or with ansible.
{{- if eq .chezmoi.hostname "petrucci4prez" }}
clone_maybe () { clone_maybe () {
if [ ! -d "$2" ]; then if [ ! -d "$2" ]; then
echo cloning git repo: "$1" echo cloning git repo: "$1"
@ -69,3 +70,4 @@ run_stack_in_dir "$xmonad_dir"
## CLONE OTHER REPOS ## CLONE OTHER REPOS
clone_maybe https://github.com/ndwarshuis/conky.git "$HOME/.config/conky" clone_maybe https://github.com/ndwarshuis/conky.git "$HOME/.config/conky"
{{- end }}