installDeps.sh: don't nuke all installed plugins on update
This is a modification of PR #3474 by rohieb <rohieb@rohieb.name>. When this script is run after an update, and something fails during the npm run, the installed plugins were deleted, too. In this version what gets deleted is only the directory that contains the direct dependencies of the core Etherpad, ie: node_modules/ep_etherpad-lite/node_modulespull/3480/head
parent
727fbc2669
commit
c09e638fc3
|
@ -116,7 +116,7 @@ echo "Ensure that all dependencies are up to date... If this is the first time
|
|||
cd ep_etherpad-lite
|
||||
npm install --no-save --loglevel warn
|
||||
) || {
|
||||
rm -rf node_modules
|
||||
rm -rf src/node_modules
|
||||
exit 1
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue