Update sabnzbd-install.sh
code refactoring
This commit is contained in:
parent
bbd7393d94
commit
19f08297e6
1 changed files with 2 additions and 1 deletions
|
@ -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…
Reference in a new issue