try 2
This commit is contained in:
parent
e451da855a
commit
e5a5a0d209
@ -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}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user