mirror of https://github.com/tteck/Proxmox.git
				
				
				
			Update pyenv2.sh
This commit is contained in:
		
							parent
							
								
									124e0e191b
								
							
						
					
					
						commit
						f5595b0709
					
				| 
						 | 
					@ -73,3 +73,21 @@ systemctl enable --now esphomedashboard &>/dev/null
 | 
				
			||||||
echo "Installed ESPHome Beta"
 | 
					echo "Installed ESPHome Beta"
 | 
				
			||||||
echo -e " Go to $(hostname -I | awk '{print $1}'):6052"
 | 
					echo -e " Go to $(hostname -I | awk '{print $1}'):6052"
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					read -r -p "Would you like to install Matter-Server? <y/N> " prompt
 | 
				
			||||||
 | 
					if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
				
			||||||
 | 
					  MTR="Y"
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					if [[ $MTR == "Y" ]]; then
 | 
				
			||||||
 | 
					echo "Installing Matter Server"
 | 
				
			||||||
 | 
					apt-get install -y \
 | 
				
			||||||
 | 
					libcairo2-dev \
 | 
				
			||||||
 | 
					libjpeg62-turbo-dev \
 | 
				
			||||||
 | 
					libgirepository1.0-dev \
 | 
				
			||||||
 | 
					libpango1.0-dev \
 | 
				
			||||||
 | 
					libgif-dev \
 | 
				
			||||||
 | 
					g++ &>/dev/null
 | 
				
			||||||
 | 
					python3 -m pip install wheel 
 | 
				
			||||||
 | 
					pip3 install --upgrade pip 
 | 
				
			||||||
 | 
					pip install python-matter-server[server]
 | 
				
			||||||
 | 
					echo "Installed Matter Server"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue