mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-09-13 10:49:41 +00:00
Ensure Node version at least v18.20.3 and make fresh backup folder each time (#2468)
This commit is contained in:
parent
b694c339cb
commit
ce16be6393
1 changed files with 3 additions and 0 deletions
|
@ -35,6 +35,9 @@ function update_script() {
|
|||
msg_ok "Stopped Service"
|
||||
|
||||
msg_info "Updating ${APP} to v${RELEASE}"
|
||||
$STD apt-get update
|
||||
$STD apt-get upgrade -y
|
||||
rm -rf /opt/magicmirror-backup
|
||||
mkdir /opt/magicmirror-backup
|
||||
cp /opt/magicmirror/config/config.js /opt/magicmirror-backup
|
||||
if [[ -f /opt/magicmirror/css/custom.css ]]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue