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