From 08809fd1bb802f79c3da0f3cdf97e135b67e89c3 Mon Sep 17 00:00:00 2001 From: jerry048 <61510650+jerry048@users.noreply.github.com> Date: Wed, 15 Dec 2021 13:32:36 +0800 Subject: [PATCH] Update Deluge_install.sh --- Torrent Clients/Deluge/Deluge_install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Torrent Clients/Deluge/Deluge_install.sh b/Torrent Clients/Deluge/Deluge_install.sh index 72e0e27..d254929 100644 --- a/Torrent Clients/Deluge/Deluge_install.sh +++ b/Torrent Clients/Deluge/Deluge_install.sh @@ -6,7 +6,7 @@ dewebport=8112 function Deluge_download { normal_1; echo "Downloading Deluge and its dependencies"; normal_2 - if [[ "${Deluge_Ver}" =~ "1.3." ]]; then + if [[ "${Deluge_minver}" =~ "1.3." ]]; then while true; do result=$(wget -4 http://download.deluge-torrent.org/source/$Deluge_minver/deluge-$Deluge_rev.tar.xz 2>&1) if [[ ! $result =~ 404 ]]; then @@ -15,7 +15,7 @@ function Deluge_download { sleep 2 done apt-get -qqy install libboost-all-dev libboost-dev python python-twisted python-openssl python-setuptools intltool python-xdg python-chardet geoip-database python-notify python-pygame python-glade2 librsvg2-common xdg-utils python-mako - # elif [[ "${Deluge_Ver}" =~ "2.0." ]]; then + # elif [[ "${Deluge_minver}" =~ "2.0." ]]; then # while true; do # result=$(wget -4 http://download.deluge-torrent.org/source/$Deluge_minver/deluge-$Deluge_rev.tar.xz 2>&1) # if [[ ! $result =~ 404 ]]; then