mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 15:36:16 -04:00
script to update all plugins with one command on CLI
This commit is contained in:
parent
a642deaa72
commit
c6d7ed114e
1 changed files with 12 additions and 0 deletions
12
bin/updatePlugins.sh
Executable file
12
bin/updatePlugins.sh
Executable file
|
@ -0,0 +1,12 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
#Move to the folder where ep-lite is installed
|
||||||
|
cd `dirname $0`
|
||||||
|
|
||||||
|
#Was this script started in the bin folder? if yes move out
|
||||||
|
if [ -d "../bin" ]; then
|
||||||
|
cd "../"
|
||||||
|
fi
|
||||||
|
|
||||||
|
npm outdated --depth=0 | grep -v "^Package" | awk '{print $1}' | xargs npm install $1 --save-dev
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue