Update sabnzbd-install.sh

fixes https://github.com/tteck/Proxmox/issues/2739
This commit is contained in:
tteckster 2024-04-06 09:05:33 -04:00 committed by GitHub
parent fe0b379ed1
commit 932b69a8c4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 4 deletions

View File

@ -19,10 +19,12 @@ $STD apt-get install -y sudo
$STD apt-get install -y mc $STD apt-get install -y mc
$STD apt-get install -y par2 $STD apt-get install -y par2
$STD apt-get install -y p7zip-full $STD apt-get install -y p7zip-full
RELEASE=$(curl -s http://http.us.debian.org/debian/pool/non-free/u/unrar-nonfree/ | grep -oP 'href="\K[^"]*unrar_7\.\d+\.\d+-\d+_amd64\.deb' | head -1) cat <<EOF >/etc/apt/sources.list.d/non-free.list
wget -q http://http.us.debian.org/debian/pool/non-free/u/unrar-nonfree/$RELEASE deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
$STD dpkg -i unrar*.deb EOF
rm unrar*.deb $STD apt-get update
$STD apt-get install -y unrar
rm /etc/apt/sources.list.d/non-free.list
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Updating Python3" msg_info "Updating Python3"