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" }}
.bin
.config
!.config/private_gnupg
.config/**
!.config/gnupg
!.config/python
!.config/zsh
.config/zsh/dot_zprofile

View File

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