From 5fca52636866ded3c3c9d7c39b39c58f2d0b8765 Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Sun, 30 Mar 2014 21:11:48 +0200 Subject: [PATCH] package.json - create dest dirs if they don't exist --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b013fab..bd9ef95 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "node": ">=0.10.0" }, "scripts": { - "postinstall": "ln -sf \"$PWD/pure.zsh\" /usr/local/share/zsh/site-functions/prompt_pure_setup || Could not automagically symlink the prompt. Check out the readme on how to do it manually: https://github.com/sindresorhus/pure#manually" + "postinstall": "dest=/usr/local/share/zsh/site-functions/; mkdir -p $dest && ln -sf \"$PWD/pure.zsh\" $dest/prompt_pure_setup || Could not automagically symlink the prompt. Check out the readme on how to do it manually: https://github.com/sindresorhus/pure#manually" }, "files": [ "pure.zsh"