all repos — nixfiles @ d121a8e2253541e1f9606c31d27807d349409e3a

System and user configuration, managed by nix and home-manager

Installer: create directories if not present

Alan Pearce
commit

d121a8e2253541e1f9606c31d27807d349409e3a

parent

9094360d8c4f42f8f0a6a0475051877dc2c38fe5

1 file changed, 5 insertions(+), 0 deletions(-)

jump to
M installinstall
@@ -21,6 +21,11 @@ git clone ssh://alan@home.alanpearce.co.uk:22222/~/dotfiles.git
fi install-dot () { + if [[ ! -d $1 ]] + then + mkdir $1 + fi + for f in $@[2,-1] do if [[ ! -e $1$f:t ]]