mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-25 18:06:15 -04: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…
Add table
Add a link
Reference in a new issue