mirror of
				https://github.com/community-scripts/ProxmoxVE.git
				synced 2025-11-04 10:22:50 +00:00 
			
		
		
		
	Fix update process (#3341)
This commit is contained in:
		@@ -40,12 +40,11 @@ function update_script() {
 | 
				
			|||||||
        tar zxf $temp_file
 | 
					        tar zxf $temp_file
 | 
				
			||||||
        rm -rf /opt/revealjs/node_modules/*
 | 
					        rm -rf /opt/revealjs/node_modules/*
 | 
				
			||||||
        cp /opt/revealjs/index.html  /opt
 | 
					        cp /opt/revealjs/index.html  /opt
 | 
				
			||||||
        cp /opt/revealjs/gulpfile.js /opt
 | 
					 | 
				
			||||||
        cp -rf reveal.js-${RELEASE}/* /opt/revealjs
 | 
					        cp -rf reveal.js-${RELEASE}/* /opt/revealjs
 | 
				
			||||||
        cd /opt/revealjs
 | 
					        cd /opt/revealjs
 | 
				
			||||||
        $STD npm install
 | 
					        $STD npm install
 | 
				
			||||||
        cp -f /opt/index.html /opt/revealjs
 | 
					        cp -f /opt/index.html /opt/revealjs
 | 
				
			||||||
        cp -f /opt/gulpfile.js /opt/revealjs
 | 
					        sed -i '25s/localhost/0.0.0.0/g' /opt/revealjs/gulpfile.js
 | 
				
			||||||
        echo "${RELEASE}" >/opt/${APP}_version.txt
 | 
					        echo "${RELEASE}" >/opt/${APP}_version.txt
 | 
				
			||||||
        msg_ok "Updated $APP to ${RELEASE}"
 | 
					        msg_ok "Updated $APP to ${RELEASE}"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user