diff --git a/package.json b/package.json index f37278c216..66b84a9f1a 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,7 @@ "test-fast": "grunt test-fast", "version": "node build/sri-update", "prepublishOnly": "grunt build && node build/sri-update --validate", - "postinstall": "ln -s -f node_modules/angular-precommit/index.js .git/hooks/commit-msg" + "postinstall": "cd .git/hooks/ && cp ../../node_modules/angular-precommit/index.js commit-msg && cd ../../" }, "devDependencies": { "angular-precommit": "^1.0.3",