summaryrefslogtreecommitdiff
path: root/install.yaml
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2016-01-25 10:37:28 +0000
committerUrbain Vaes <urbain@vaes.uk>2016-01-25 10:37:28 +0000
commit0e54dbcaeb3f20c9e189a7d10e24f3676284795d (patch)
treef2b3603701ca673521352f5ee644ddbb1e0212d1 /install.yaml
parentb134601c97657450621b89c8528de7e31dc41cdf (diff)
Create missing directories in dotfiles deployment
Diffstat (limited to 'install.yaml')
-rw-r--r--install.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/install.yaml b/install.yaml
index 0212602..b2e883c 100644
--- a/install.yaml
+++ b/install.yaml
@@ -1,6 +1,6 @@
# Commands to install / uninstall symlinks
commands:
- up: rm -rf {target} && ln -s {path}/{file} {target}
+ up: rm -rf {target} && mkdir -p $(dirname {target}) && ln -s {path}/{file} {target}
down: rm -rf {target}