Update sabnzbd-install.sh

code refactoring
pull/2066/head
tteckster 1 year ago committed by GitHub
parent bbd7393d94
commit 19f08297e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -19,7 +19,8 @@ $STD apt-get install -y sudo
$STD apt-get install -y mc
$STD apt-get install -y par2
$STD apt-get install -y p7zip-full
wget -q http://http.us.debian.org/debian/pool/non-free/u/unrar-nonfree/unrar_7.0.3-1_amd64.deb
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')
wget -q http://http.us.debian.org/debian/pool/non-free/u/unrar-nonfree/$RELEASE
$STD dpkg -i unrar*.deb
rm unrar*.deb
msg_ok "Installed Dependencies"

Loading…
Cancel
Save

Powered by BW's shoe-string budget.