summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2014-02-08 20:36:09 +0000
committerAlan Pearce2014-02-08 20:36:09 +0000
commit6f4c1e62e76d861f672d270348c5ef4f2cfec8e0 (patch)
tree04078011bad5792e511cde2f0d63607cb7894d12
parent367699e5b52629fa7da3a1faec5a54a5241d96a4 (diff)
downloaddotfiles-6f4c1e62e76d861f672d270348c5ef4f2cfec8e0.tar.lz
dotfiles-6f4c1e62e76d861f672d270348c5ef4f2cfec8e0.tar.zst
dotfiles-6f4c1e62e76d861f672d270348c5ef4f2cfec8e0.zip
Installer: Create ~/projects/dotfiles if missing
-rwxr-xr-xinstall5
1 files changed, 5 insertions, 0 deletions
diff --git a/install b/install
index 85dd7a7..da30f8c 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