mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +01:00
installDeps.sh: Handle errors
This commit is contained in:
parent
258b8366e2
commit
2ba85dba0e
1 changed files with 4 additions and 4 deletions
|
@ -38,10 +38,10 @@ fi
|
|||
|
||||
log "Installing dependencies..."
|
||||
(
|
||||
mkdir -p node_modules
|
||||
cd node_modules
|
||||
[ -d ep_etherpad-lite ] || ln -sf ../src ep_etherpad-lite
|
||||
cd ep_etherpad-lite
|
||||
mkdir -p node_modules &&
|
||||
cd node_modules &&
|
||||
{ [ -d ep_etherpad-lite ] || ln -sf ../src ep_etherpad-lite; } &&
|
||||
cd ep_etherpad-lite &&
|
||||
npm ci --no-optional
|
||||
) || {
|
||||
rm -rf src/node_modules
|
||||
|
|
Loading…
Reference in a new issue