change to update format
This commit is contained in:
Executable
+11
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
# pm2 is installed by install.sh with npm into ~/.local
|
||||
is_installed() {
|
||||
[ -x "$HOME/.local/bin/pm2" ]
|
||||
}
|
||||
|
||||
run_update() {
|
||||
echo "Updating pm2..."
|
||||
npm update -g pm2 --prefix "$HOME/.local"
|
||||
}
|
||||
Reference in New Issue
Block a user