From 6f4c1e62e76d861f672d270348c5ef4f2cfec8e0 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 8 Feb 2014 20:36:09 +0000 Subject: Installer: Create ~/projects/dotfiles if missing --- install | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'install') diff --git a/install b/install index 85dd7a7b..da30f8cb 100755 --- a/install +++ b/install @@ -5,6 +5,11 @@ pushd $HOME setopt EXTENDED_GLOB +if [[ ! -d $target ]] +then + mkdir -pv $target +fi + if [[ -d ~/Library/LaunchAgents ]] then ln -sf $target/launchagents/* ~/Library/LaunchAgents -- cgit 1.4.1