mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-23 23:42:29 +00:00
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:
commit
d069ce35e6
@ -2,7 +2,7 @@
|
||||
"name": "resin-supervisor",
|
||||
"version": "1.11.0",
|
||||
"scripts": {
|
||||
"postinstall": "bash postinstall.sh",
|
||||
"postinstall": "sh postinstall.sh",
|
||||
"start": "./entry.sh"
|
||||
},
|
||||
"dependencies": {
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user