mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-03-02 21:08:41 +00:00
Stop the pre/postinstall scripts on error.
This commit is contained in:
parent
d07c6abe99
commit
a39024709f
3
deps.sh
3
deps.sh
@ -1,3 +1,6 @@
|
|||||||
|
set -o errexit
|
||||||
|
set -o pipefail
|
||||||
|
|
||||||
if [ $NODE_ENV == 'production' ]; then
|
if [ $NODE_ENV == 'production' ]; then
|
||||||
# Deploy key for private npm modules
|
# Deploy key for private npm modules
|
||||||
mkdir -p /root/.ssh
|
mkdir -p /root/.ssh
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
set -o errexit
|
||||||
|
set -o pipefail
|
||||||
|
|
||||||
if [ $NODE_ENV == 'production' ]; then
|
if [ $NODE_ENV == 'production' ]; then
|
||||||
node ./node_modules/coffee-script/bin/coffee -c ./src
|
node ./node_modules/coffee-script/bin/coffee -c ./src
|
||||||
# We don't need coffee-script at runtime
|
# We don't need coffee-script at runtime
|
||||||
|
Loading…
x
Reference in New Issue
Block a user