From 7954d517f70f79ea3f916d5453b5d2fed47e1cad Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 15 Mar 2014 11:24:53 +0000 Subject: Installer: create directories for links if needed --- install | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'install') diff --git a/install b/install index da30f8cb..32a4f26f 100755 --- a/install +++ b/install @@ -21,6 +21,11 @@ then fi install-dot () { + if [[ "$1" != . && ! -d $1 ]] + then + mkdir $1 + fi + for f in $@[2,-1] do if [[ ! -e $1$f:t ]] -- cgit 1.4.1