From e5a5a0d209ebd73b21f60f3b8761e083c16ccf97 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 30 May 2021 09:39:22 +0000 Subject: [PATCH] try 2 --- prepare-build.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/prepare-build.sh b/prepare-build.sh index fb8c6e6..0b5488a 100644 --- a/prepare-build.sh +++ b/prepare-build.sh @@ -6,7 +6,8 @@ NC='\033[0m' # No Color #sudo apt-get install python #sudo apt-get install wiggle sudo apt-get install lftp -sudo apt-get remove --auto-remove php7.4-cgi libapache2-mod-php7.4 +sudo apt-get remove --auto-remove php7.4 php7.4-cgi libapache2-mod-php7.4 php7.4-common +sudo apt autoremove echo -e ${RED} -------- download bromite repo ${NC} git clone https://github.com/bromite/bromite @@ -32,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 ftp:ssl-force true; set ssl:verify-certificate false; cd /bromite; get chromium.$VERSION.tar.gz; quit" && 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 if [[ OK -eq 0 ]]; then echo -e ${RED} -------- not found ${NC}