mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-05-09 12:22:55 +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",
|
"name": "resin-supervisor",
|
||||||
"version": "1.11.0",
|
"version": "1.11.0",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"postinstall": "bash postinstall.sh",
|
"postinstall": "sh postinstall.sh",
|
||||||
"start": "./entry.sh"
|
"start": "./entry.sh"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
set -o errexit
|
set -o errexit
|
||||||
set -o pipefail
|
|
||||||
|
|
||||||
if [[ $NODE_ENV == 'production' ]]; then
|
if [ "$NODE_ENV" = "production" ]; then
|
||||||
# Remove node-gyp cache
|
# Remove node-gyp cache
|
||||||
rm -rf ~/.node-gyp/
|
rm -rf ~/.node-gyp/
|
||||||
# Remove cached git deps
|
# Remove cached git deps
|
||||||
|
Loading…
x
Reference in New Issue
Block a user