all repos — nixfiles @ 7954d517f70f79ea3f916d5453b5d2fed47e1cad

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

Installer: create directories for links if needed

Alan Pearce
commit

7954d517f70f79ea3f916d5453b5d2fed47e1cad

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 [[ "$1" != . && ! -d $1 ]] + then + mkdir $1 + fi + for f in $@[2,-1] do if [[ ! -e $1$f:t ]]