From 5ceda0657550f954b6b67c84e9c047373cad0164 Mon Sep 17 00:00:00 2001 From: tteckster Date: Sun, 25 Jun 2023 00:13:23 -0400 Subject: [PATCH] Code refactoring --- install/bazarr-install.sh | 2 +- install/changedetection-install.sh | 2 +- install/deluge-install.sh | 2 +- install/esphome-install.sh | 2 +- install/homeassistant-core-install.sh | 2 +- install/homeassistant-install.sh | 2 +- install/motioneye-install.sh | 2 +- install/nginxproxymanager-install.sh | 2 +- install/octoprint-install.sh | 2 +- install/sabnzbd-install.sh | 2 +- install/scrypted-install.sh | 2 +- install/tautulli-install.sh | 2 +- install/whoogle-install.sh | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/install/bazarr-install.sh b/install/bazarr-install.sh index 1b8beeea..b5d3f921 100755 --- a/install/bazarr-install.sh +++ b/install/bazarr-install.sh @@ -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" diff --git a/install/changedetection-install.sh b/install/changedetection-install.sh index a23a0fca..46a70f05 100644 --- a/install/changedetection-install.sh +++ b/install/changedetection-install.sh @@ -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" diff --git a/install/deluge-install.sh b/install/deluge-install.sh index 5dda4f3c..1aac5a84 100644 --- a/install/deluge-install.sh +++ b/install/deluge-install.sh @@ -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" diff --git a/install/esphome-install.sh b/install/esphome-install.sh index 67e0e137..7dbbbc18 100644 --- a/install/esphome-install.sh +++ b/install/esphome-install.sh @@ -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" diff --git a/install/homeassistant-core-install.sh b/install/homeassistant-core-install.sh index e72a47e1..cbb10ed5 100644 --- a/install/homeassistant-core-install.sh +++ b/install/homeassistant-core-install.sh @@ -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 diff --git a/install/homeassistant-install.sh b/install/homeassistant-install.sh index 0d341e9e..309f6bd3 100644 --- a/install/homeassistant-install.sh +++ b/install/homeassistant-install.sh @@ -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" diff --git a/install/motioneye-install.sh b/install/motioneye-install.sh index f7364e65..fe3e5d23 100644 --- a/install/motioneye-install.sh +++ b/install/motioneye-install.sh @@ -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" diff --git a/install/nginxproxymanager-install.sh b/install/nginxproxymanager-install.sh index 89eada70..6a13f95f 100644 --- a/install/nginxproxymanager-install.sh +++ b/install/nginxproxymanager-install.sh @@ -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" diff --git a/install/octoprint-install.sh b/install/octoprint-install.sh index f6db1393..3121387c 100644 --- a/install/octoprint-install.sh +++ b/install/octoprint-install.sh @@ -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" diff --git a/install/sabnzbd-install.sh b/install/sabnzbd-install.sh index f70c23a5..5cf49ea7 100644 --- a/install/sabnzbd-install.sh +++ b/install/sabnzbd-install.sh @@ -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" diff --git a/install/scrypted-install.sh b/install/scrypted-install.sh index e0015615..0c39a396 100644 --- a/install/scrypted-install.sh +++ b/install/scrypted-install.sh @@ -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" diff --git a/install/tautulli-install.sh b/install/tautulli-install.sh index f0eb77b3..8674c1da 100644 --- a/install/tautulli-install.sh +++ b/install/tautulli-install.sh @@ -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" diff --git a/install/whoogle-install.sh b/install/whoogle-install.sh index 1381f662..24455125 100644 --- a/install/whoogle-install.sh +++ b/install/whoogle-install.sh @@ -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"