From e02cb62771d8a0159fc65864251783b63b06e076 Mon Sep 17 00:00:00 2001 From: midoks Date: Wed, 13 Jul 2022 00:34:41 +0800 Subject: [PATCH] Update install.sh --- plugins/pureftp/install.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/pureftp/install.sh b/plugins/pureftp/install.sh index 83860e62c..1a00473be 100755 --- a/plugins/pureftp/install.sh +++ b/plugins/pureftp/install.sh @@ -51,8 +51,10 @@ Install_pureftp() VER=$1 DOWNLOAD=https://download.pureftpd.org/pub/pure-ftpd/releases/pure-ftpd-${VER}.tar.gz + # curl -sSLo pure-ftpd-1.0.49.tar.gz https://download.pureftpd.org/pub/pure-ftpd/releases/pure-ftpd-1.0.49.tar.gz if [ ! -f $serverPath/source/pureftp/pure-ftpd-${VER}.tar.gz ];then - wget --no-check-certificate -O $serverPath/source/pureftp/pure-ftpd-${VER}.tar.gz $DOWNLOAD + # wget --no-check-certificate -O $serverPath/source/pureftp/pure-ftpd-${VER}.tar.gz $DOWNLOAD + curl -sSLo $serverPath/source/pureftp/pure-ftpd-${VER}.tar.gz $DOWNLOAD fi #检测文件是否损坏.