12 lines
207 B
Bash
Executable File
12 lines
207 B
Bash
Executable File
#!/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"
|
|
}
|