Don't overwrite ssh config file unless clean
This commit is contained in:
parent
f676af2d25
commit
0af61cf77e
3
Makefile
3
Makefile
|
@ -47,8 +47,7 @@ $(BIN_TARGETS): $(LOCAL_BIN)/%: bin/%
|
||||||
command -v $? 2> /dev/null || ln -s $(PWD)$? $@
|
command -v $? 2> /dev/null || ln -s $(PWD)$? $@
|
||||||
|
|
||||||
$(HOME)/.ssh/config: $(HOME)/.ssh
|
$(HOME)/.ssh/config: $(HOME)/.ssh
|
||||||
cp $@ "$@"~
|
cp -n templates/ssh-config $@
|
||||||
cp templates/ssh-config $@
|
|
||||||
|
|
||||||
$(PACKER_DIR):
|
$(PACKER_DIR):
|
||||||
git clone --depth 1 $(PACKER_REPO) $@
|
git clone --depth 1 $(PACKER_REPO) $@
|
||||||
|
|
Loading…
Reference in a new issue