From 6ab86e5c05b486227b1ad6d56ab7917e266933cd Mon Sep 17 00:00:00 2001 From: tteckster Date: Sat, 25 Nov 2023 10:19:33 -0500 Subject: [PATCH] Update sabnzbd-install.sh fix release variable --- install/sabnzbd-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/sabnzbd-install.sh b/install/sabnzbd-install.sh index 0fef42d1..368633da 100644 --- a/install/sabnzbd-install.sh +++ b/install/sabnzbd-install.sh @@ -19,7 +19,7 @@ $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 -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') +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) wget -q http://http.us.debian.org/debian/pool/non-free/u/unrar-nonfree/$RELEASE $STD dpkg -i unrar*.deb rm unrar*.deb