mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-03-10 07:30:28 +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
@ -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…
Reference in New Issue
Block a user