Update dashy.sh

fix update
This commit is contained in:
tteckster 2024-03-13 17:40:53 -04:00 committed by GitHub
parent 6a77af66a4
commit 58b75e0dd8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -63,11 +63,11 @@ msg_ok "Stopped ${APP}"
msg_info "Backing up conf.yml" msg_info "Backing up conf.yml"
cd ~ cd ~
cp -R /dashy/public/conf.yml conf.yml cp -R /opt/dashy/public/conf.yml conf.yml
msg_ok "Backed up conf.yml" msg_ok "Backed up conf.yml"
msg_info "Updating Dashy" msg_info "Updating Dashy"
cd /dashy cd /opt/dashy
git merge &>/dev/null git merge &>/dev/null
git pull origin master &>/dev/null git pull origin master &>/dev/null
yarn &>/dev/null yarn &>/dev/null
@ -76,7 +76,7 @@ msg_ok "Updated Dashy"
msg_info "Restoring conf.yml" msg_info "Restoring conf.yml"
cd ~ cd ~
cp -R conf.yml /dashy/public cp -R conf.yml /opt/dashy/public
msg_ok "Restored conf.yml" msg_ok "Restored conf.yml"
msg_info "Cleaning" msg_info "Cleaning"