From d121a8e2253541e1f9606c31d27807d349409e3a Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 9 Mar 2014 15:58:14 +0000 Subject: Installer: create directories if not present --- install | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'install') diff --git a/install b/install index da30f8c..a433631 100755 --- a/install +++ b/install @@ -21,6 +21,11 @@ then fi install-dot () { + if [[ ! -d $1 ]] + then + mkdir $1 + fi + for f in $@[2,-1] do if [[ ! -e $1$f:t ]] -- cgit 1.4.1