diff options
author | Alan Pearce | 2014-02-08 20:36:09 +0000 |
---|---|---|
committer | Alan Pearce | 2014-02-08 20:36:09 +0000 |
commit | 6f4c1e62e76d861f672d270348c5ef4f2cfec8e0 (patch) | |
tree | 04078011bad5792e511cde2f0d63607cb7894d12 | |
parent | 367699e5b52629fa7da3a1faec5a54a5241d96a4 (diff) | |
download | nixfiles-6f4c1e62e76d861f672d270348c5ef4f2cfec8e0.tar.lz nixfiles-6f4c1e62e76d861f672d270348c5ef4f2cfec8e0.tar.zst nixfiles-6f4c1e62e76d861f672d270348c5ef4f2cfec8e0.zip |
Installer: Create ~/projects/dotfiles if missing
-rwxr-xr-x | install | 5 |
1 files changed, 5 insertions, 0 deletions
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 |