Skip to content

Commit

Permalink
[tools] Don't try to call postinstall script if there is no such file
Browse files Browse the repository at this point in the history
See #149
  • Loading branch information
tonyganch committed Apr 28, 2016
1 parent a0b7246 commit a1f43ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"init": "./scripts/init.sh",
"log": "./scripts/log.sh",
"prepublish": "./scripts/prepublish.sh",
"postinstall": "./scripts/postinstall.sh",
"postinstall": "if [ -e ./scripts/postinstall.sh ]; then ./scripts/postinstall.sh; fi",
"postpublish": "./scripts/postpublish.sh",
"test": "./scripts/build.sh && ./scripts/test.sh"
},
Expand Down

0 comments on commit a1f43ea

Please sign in to comment.