mirror of https://github.com/tteck/Proxmox.git
				
				
				
			Write version into Homepage_version.txt file after update (#2908)
This commit is contained in:
		
							parent
							
								
									6cb9e1db0a
								
							
						
					
					
						commit
						4a1ccb5d3d
					
				| 
						 | 
					@ -76,6 +76,7 @@ if [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]] || [[ ! -f /opt/${APP}
 | 
				
			||||||
  pnpm install
 | 
					  pnpm install
 | 
				
			||||||
  pnpm build
 | 
					  pnpm build
 | 
				
			||||||
  systemctl start homepage
 | 
					  systemctl start homepage
 | 
				
			||||||
 | 
					  echo "${RELEASE}" >/opt/${APP}_version.txt
 | 
				
			||||||
  msg_ok "Updated Homepage to v${RELEASE}"
 | 
					  msg_ok "Updated Homepage to v${RELEASE}"
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
  msg_ok "No update required. ${APP} is already at ${RELEASE}"
 | 
					  msg_ok "No update required. ${APP} is already at ${RELEASE}"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue