mirror of https://github.com/tteck/Proxmox.git
				
				
				
			Code refactoring
This commit is contained in:
		
							parent
							
								
									f0a8502c96
								
							
						
					
					
						commit
						5ceda06575
					
				| 
						 | 
					@ -24,7 +24,7 @@ $STD apt-get install -y \
 | 
				
			||||||
  python3 \
 | 
					  python3 \
 | 
				
			||||||
  python3-dev \
 | 
					  python3-dev \
 | 
				
			||||||
  python3-pip
 | 
					  python3-pip
 | 
				
			||||||
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
 | 
					
 | 
				
			||||||
msg_ok "Updated Python3"
 | 
					msg_ok "Updated Python3"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
msg_info "Installing Bazarr"
 | 
					msg_info "Installing Bazarr"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -49,7 +49,7 @@ $STD apt-get install -y \
 | 
				
			||||||
  python3 \
 | 
					  python3 \
 | 
				
			||||||
  python3-dev \
 | 
					  python3-dev \
 | 
				
			||||||
  python3-pip
 | 
					  python3-pip
 | 
				
			||||||
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
 | 
					
 | 
				
			||||||
msg_ok "Updated Python3"
 | 
					msg_ok "Updated Python3"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
msg_info "Setting up Node.js Repository"
 | 
					msg_info "Setting up Node.js Repository"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -24,7 +24,7 @@ $STD apt-get install -y \
 | 
				
			||||||
  python3 \
 | 
					  python3 \
 | 
				
			||||||
  python3-dev \
 | 
					  python3-dev \
 | 
				
			||||||
  python3-pip
 | 
					  python3-pip
 | 
				
			||||||
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
 | 
					
 | 
				
			||||||
msg_ok "Updated Python3"
 | 
					msg_ok "Updated Python3"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
msg_info "Installing Deluge"
 | 
					msg_info "Installing Deluge"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -26,7 +26,7 @@ $STD apt-get install -y \
 | 
				
			||||||
  python3-dev \
 | 
					  python3-dev \
 | 
				
			||||||
  python3-pip \
 | 
					  python3-pip \
 | 
				
			||||||
  python3-venv
 | 
					  python3-venv
 | 
				
			||||||
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
 | 
					
 | 
				
			||||||
msg_ok "Updated Python3"
 | 
					msg_ok "Updated Python3"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
msg_info "Installing ESPHome"
 | 
					msg_info "Installing ESPHome"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -43,7 +43,7 @@ $STD apt-get install -y \
 | 
				
			||||||
  python3-dev \
 | 
					  python3-dev \
 | 
				
			||||||
  python3-pip \
 | 
					  python3-pip \
 | 
				
			||||||
  python3-venv
 | 
					  python3-venv
 | 
				
			||||||
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
 | 
					
 | 
				
			||||||
msg_ok "Updated Python3"
 | 
					msg_ok "Updated Python3"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if [[ "$PCT_OSVERSION" == "11" ]]; then
 | 
					if [[ "$PCT_OSVERSION" == "11" ]]; then
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -25,7 +25,7 @@ $STD apt-get install -y \
 | 
				
			||||||
  python3-dev \
 | 
					  python3-dev \
 | 
				
			||||||
  python3-pip \
 | 
					  python3-pip \
 | 
				
			||||||
  python3-venv
 | 
					  python3-venv
 | 
				
			||||||
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
 | 
					
 | 
				
			||||||
msg_ok "Updated Python3"
 | 
					msg_ok "Updated Python3"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
msg_info "Installing runlike"
 | 
					msg_info "Installing runlike"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -26,7 +26,7 @@ $STD apt-get install -y \
 | 
				
			||||||
  python3 \
 | 
					  python3 \
 | 
				
			||||||
  python3-dev \
 | 
					  python3-dev \
 | 
				
			||||||
  python3-pip
 | 
					  python3-pip
 | 
				
			||||||
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
 | 
					
 | 
				
			||||||
msg_ok "Updated Python3"
 | 
					msg_ok "Updated Python3"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
msg_info "Installing Motion"
 | 
					msg_info "Installing Motion"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -39,7 +39,7 @@ $STD apt-get install -y \
 | 
				
			||||||
  python3-cffi \
 | 
					  python3-cffi \
 | 
				
			||||||
  python3-certbot \
 | 
					  python3-certbot \
 | 
				
			||||||
  python3-certbot-dns-cloudflare
 | 
					  python3-certbot-dns-cloudflare
 | 
				
			||||||
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
 | 
					
 | 
				
			||||||
$STD python3 -m venv /opt/certbot/
 | 
					$STD python3 -m venv /opt/certbot/
 | 
				
			||||||
msg_ok "Updated Python"
 | 
					msg_ok "Updated Python"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -28,7 +28,7 @@ $STD apt-get install -y \
 | 
				
			||||||
  python3-dev \
 | 
					  python3-dev \
 | 
				
			||||||
  python3-pip \
 | 
					  python3-pip \
 | 
				
			||||||
  python3-venv
 | 
					  python3-venv
 | 
				
			||||||
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
 | 
					
 | 
				
			||||||
$STD apt-get install -y python3-setuptools
 | 
					$STD apt-get install -y python3-setuptools
 | 
				
			||||||
msg_ok "Updated Python3"
 | 
					msg_ok "Updated Python3"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -29,7 +29,7 @@ $STD apt-get install -y \
 | 
				
			||||||
  python3 \
 | 
					  python3 \
 | 
				
			||||||
  python3-dev \
 | 
					  python3-dev \
 | 
				
			||||||
  python3-pip
 | 
					  python3-pip
 | 
				
			||||||
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
 | 
					
 | 
				
			||||||
$STD apt-get install -y python3-setuptools
 | 
					$STD apt-get install -y python3-setuptools
 | 
				
			||||||
msg_ok "Updated Python3"
 | 
					msg_ok "Updated Python3"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -63,7 +63,7 @@ $STD apt-get install -y \
 | 
				
			||||||
  python3 \
 | 
					  python3 \
 | 
				
			||||||
  python3-dev \
 | 
					  python3-dev \
 | 
				
			||||||
  python3-pip
 | 
					  python3-pip
 | 
				
			||||||
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
 | 
					
 | 
				
			||||||
msg_ok "Updated Python3"
 | 
					msg_ok "Updated Python3"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
msg_info "Installing Python3 Dependencies"
 | 
					msg_info "Installing Python3 Dependencies"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -26,7 +26,7 @@ $STD apt-get install -y \
 | 
				
			||||||
  python3 \
 | 
					  python3 \
 | 
				
			||||||
  python3-dev \
 | 
					  python3-dev \
 | 
				
			||||||
  python3-pip
 | 
					  python3-pip
 | 
				
			||||||
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
 | 
					
 | 
				
			||||||
msg_ok "Updated Python3"
 | 
					msg_ok "Updated Python3"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
msg_info "Installing Tautulli"
 | 
					msg_info "Installing Tautulli"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -24,7 +24,7 @@ $STD apt-get install -y \
 | 
				
			||||||
  python3 \
 | 
					  python3 \
 | 
				
			||||||
  python3-dev \
 | 
					  python3-dev \
 | 
				
			||||||
  python3-pip
 | 
					  python3-pip
 | 
				
			||||||
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
 | 
					
 | 
				
			||||||
msg_ok "Updated Python3"
 | 
					msg_ok "Updated Python3"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
msg_info "Installing Whoogle"
 | 
					msg_info "Installing Whoogle"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue