Update uptimekuma-update.sh

This commit is contained in:
tteckster 2022-04-22 16:08:16 -04:00 committed by GitHub
parent a8b7a6e5ad
commit c2f9224ded
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -52,13 +52,13 @@ msg_ok "Stopped Uptime Kuma"
cd /opt/uptime-kuma
msg_info "Updating"
git fetch
git checkout master
git pull
git fetch &>/dev/null
git checkout master &>/dev/null
git pull &>/dev/null
msg_ok "Updated"
msg_info "Installing Dependencies"
npm ci
npm ci &>/dev/null
msg_ok "Installed Dependencies"
msg_info "Starting Uptime Kuma"