From f37ff91de2f4031fcf5d63a1f46a063b4255472b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B2=89=E9=BB=98=E3=81=AE=E9=87=91?= <110812055+chenmozhijin@users.noreply.github.com> Date: Sun, 9 Jun 2024 04:57:08 -0700 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4config=5Fbuild=5Ftool.sh?= =?UTF-8?q?=E4=B8=AD=E7=9A=84python3-distutils=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config_build_tool.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config_build_tool.sh b/config_build_tool.sh index f44dc3bf..b95315f7 100755 --- a/config_build_tool.sh +++ b/config_build_tool.sh @@ -69,7 +69,7 @@ function install_dependencies() { case $PM in apt) # 检查并安装缺少的依赖包(基于apt包管理器) - for package_name in build-essential clang flex bison g++ gawk gcc-multilib g++-multilib gettext git libncurses-dev libssl-dev python3-distutils rsync unzip zlib1g-dev file wget make; do + for package_name in build-essential clang flex bison g++ gawk gcc-multilib g++-multilib gettext git libncurses-dev libssl-dev rsync unzip zlib1g-dev file wget make; do if [ "$(apt list --installed 2>/dev/null| grep -c "^${package_name}")" -eq '0' ];then if test ${n} = 0; then echo $package_name > $TMPDIR/install.list