From d8b78777752f8727bc64b0f256b62633934741fa Mon Sep 17 00:00:00 2001 From: tteckster Date: Wed, 21 Jun 2023 10:02:07 -0400 Subject: [PATCH] Update sabnzbd-install.sh Debian 12 compatible --- install/sabnzbd-install.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/install/sabnzbd-install.sh b/install/sabnzbd-install.sh index 6c53de93..f70c23a5 100644 --- a/install/sabnzbd-install.sh +++ b/install/sabnzbd-install.sh @@ -24,10 +24,14 @@ $STD dpkg -i unrar_6.0.3-1+deb11u1_amd64.deb rm unrar_6.0.3-1+deb11u1_amd64.deb msg_ok "Installed Dependencies" -msg_info "Installing Python3-pip" +msg_info "Updating Python3" +$STD apt-get install -y \ + python3 \ + python3-dev \ + python3-pip +rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED $STD apt-get install -y python3-setuptools -$STD apt-get install -y python3-pip -msg_ok "Installed Python3-pip" +msg_ok "Updated Python3" msg_info "Installing SABnzbd" RELEASE=$(curl -s https://api.github.com/repos/sabnzbd/sabnzbd/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')