Skip to content

Commit

Permalink
fix openshift bower issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergei Tarassov committed Jun 6, 2015
1 parent 5676b7c commit f3c856d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -7,7 +7,7 @@
"test": "echo \"Error: no test specified\" && exit 1",
"setup": "$(npm bin)/gulp setup",
"start": "DEBUG=www:server node ./bin/www",
"postinstall": "$(npm bin)/bower install && npm run setup"
"postinstall": "if [ -d \"$OPENSHIFT_REPO_DIR\" ]; then (export HOME=\"$OPENSHIFT_REPO_DIR\"/..; $(npm bin)/bower install) else ($(npm bin)/bower install) fi && npm run setup"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit f3c856d

Please sign in to comment.