diff --git a/ct/gramps-web.sh b/ct/gramps-web.sh index 04c369452..ad6529a5a 100644 --- a/ct/gramps-web.sh +++ b/ct/gramps-web.sh @@ -85,8 +85,13 @@ function update_script() { cd /opt/gramps-web/frontend export COREPACK_ENABLE_DOWNLOAD_PROMPT=0 + create_backup /opt/gramps-web/frontend/dist/config.js + $STD npm install $STD npm run build + + restore_backup + msg_ok "Updated Gramps Web Frontend" msg_info "Starting Service"