mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-17 20:11:17 +00:00
Update sabnzbd-install.sh
fixes https://github.com/tteck/Proxmox/issues/2739
This commit is contained in:
parent
fe0b379ed1
commit
932b69a8c4
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user