revert pget

This commit is contained in:
Your Name 2021-05-30 10:09:50 +00:00
parent e5a5a0d209
commit 35a033cdd6
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ PATH=$PWD/chromium/src/third_party/llvm-build/Release+Asserts/bin:$PWD/depot_too
echo -e ${RED} -------- download chromium pre-prepared ${NC}
rm chromium.$VERSION.tar.gz
#wget -qO- ftp://$FTP_USER:$FTP_PWD@$FTP_HOST/bromite/chromium.$VERSION.tar.gz | tar xz - && OK=1 || OK=0
lftp $FTP_HOST -u $FTP_USER,$FTP_PWD -e "set net:socket-buffer 4000000; set ftp:ssl-force true; set ssl:verify-certificate false; cd /bromite; pget -n 4 chromium.$VERSION.tar.gz; quit" && OK=1 || OK=0
lftp $FTP_HOST -u $FTP_USER,$FTP_PWD -e "set ftp:ssl-force true; set ssl:verify-certificate false; cd /bromite; get chromium.$VERSION.tar.gz; quit" && OK=1 || OK=0
if [[ OK -eq 0 ]]; then
echo -e ${RED} -------- not found ${NC}