From e8b9e5c233336f5ea8f2e3c6e3c658c6ddf4e9cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E7=91=9E?= <807495056@qq.com> Date: Tue, 14 Jul 2020 10:21:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'bin/extend.sh'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit bz2扩展安装问题 --- bin/extend.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bin/extend.sh b/bin/extend.sh index 8ada4e1..3b23234 100644 --- a/bin/extend.sh +++ b/bin/extend.sh @@ -103,6 +103,11 @@ function install_extension() { yum -y install freetype-devel fi ;; + bz2) + if [ `rpm -qa|grep bzip2-devel|wc -l` == 0 ];then + yum -y install bzip2-devel + fi + ;; *) grep_file=$1'-devel' if [ `echo $1|grep pdo_|wc -l` != 0 ];then