mirror of
				https://github.com/community-scripts/ProxmoxVE.git
				synced 2025-11-04 02:12:49 +00:00 
			
		
		
		
	Ensure Node version at least v18.20.3 and make fresh backup folder each time (#2468)
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user