Update menu.sh

dependabot/github_actions/actions/checkout-3.1.0
fscarmen 4 years ago committed by GitHub
parent f87e060226
commit 2d1c024a41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      menu.sh

@ -1574,7 +1574,7 @@ proxy(){
${PACKAGE_INSTALL[int]} nftables
rpm -ivh Client_CentOS_8.rpm
if [[ ! $(strings /lib64/libc.so.6) =~ 'GLIBC_2.28' ]]; then
CLIBC=1
GLIBC=1
wget -O /usr/bin/make https://github.com/fscarmen/warp/releases/download/Glibc/make
wget https://github.com/fscarmen/warp/releases/download/Glibc/glibc-2.28.tar.gz
tar -xzvf glibc-2.28.tar.gz
@ -1611,8 +1611,8 @@ proxy(){
else red " ${T[${L}85]} "
fi
# 此处为处理 Running transaction test 不动和文字乱码问题
if [ $CLIBC = 1 ]; then
# 此处为处理 CentOS 7 安装 Glibc 2.28 之后 Running transaction test 不动和文字乱码问题
if [ $GLIBC = 1 ]; then
export LANG="en_US.UTF-8";export LANGUAGE="en_US.UTF-8"
rm -rf /var/lib/rpm/__db*
yum clean all

Loading…
Cancel
Save