From cba98e583c090e187e0e3de0c0b8d9898d267781 Mon Sep 17 00:00:00 2001 From: midoks Date: Sun, 12 Jun 2022 01:28:23 +0800 Subject: [PATCH] Update lib.sh --- scripts/lib.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/lib.sh b/scripts/lib.sh index e78d94164..a2158a914 100755 --- a/scripts/lib.sh +++ b/scripts/lib.sh @@ -335,7 +335,6 @@ elif [ "$OSNAME" == "ubuntu" ] || [ "$OSNAME" == "debian" ]; then apt install -y libmariadb-dev-compat apt install -y libmariadbclient-dev else - Install_Lib yum -y install libmemcached libmemcached-devel yum -y install curl curl-devel @@ -343,13 +342,14 @@ else yum -y install freetype freetype-devel yum -y install openssl openssl-devel yum -y install libzip libzip-devel - yum -y install graphviz libxml2 + yum -y install graphviz libxml2 libxml2-devel yum -y install sqlite-devel yum -y install oniguruma oniguruma-devel yum -y install ImageMagick ImageMagick-devel - if [ "$OSNAME" == "ubuntu" ]; then - dnf install libxml2 + if [ "$OSNAME" == "fedora" ]; then + dnf install libxml2 libxml2-devel -y + fi fi