mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-10-09 20:41:02 +02:00
persist gramps-web configuration file after update (#15394)
This commit is contained in:
@@ -85,8 +85,13 @@ function update_script() {
|
|||||||
cd /opt/gramps-web/frontend
|
cd /opt/gramps-web/frontend
|
||||||
export COREPACK_ENABLE_DOWNLOAD_PROMPT=0
|
export COREPACK_ENABLE_DOWNLOAD_PROMPT=0
|
||||||
|
|
||||||
|
create_backup /opt/gramps-web/frontend/dist/config.js
|
||||||
|
|
||||||
$STD npm install
|
$STD npm install
|
||||||
$STD npm run build
|
$STD npm run build
|
||||||
|
|
||||||
|
restore_backup
|
||||||
|
|
||||||
msg_ok "Updated Gramps Web Frontend"
|
msg_ok "Updated Gramps Web Frontend"
|
||||||
|
|
||||||
msg_info "Starting Service"
|
msg_info "Starting Service"
|
||||||
|
|||||||
Reference in New Issue
Block a user