Merge pull request #161 from resin-io/fix-alpine-postinstall-sh

Use sh for postinstall as alpine has no bash
This commit is contained in:
Pablo Carranza Vélez 2016-06-09 11:11:32 -03:00
commit d069ce35e6
2 changed files with 2 additions and 3 deletions

View File

@ -2,7 +2,7 @@
"name": "resin-supervisor",
"version": "1.11.0",
"scripts": {
"postinstall": "bash postinstall.sh",
"postinstall": "sh postinstall.sh",
"start": "./entry.sh"
},
"dependencies": {

View File

@ -1,7 +1,6 @@
set -o errexit
set -o pipefail
if [[ $NODE_ENV == 'production' ]]; then
if [ "$NODE_ENV" = "production" ]; then
# Remove node-gyp cache
rm -rf ~/.node-gyp/
# Remove cached git deps