mirror of
https://github.com/bunkerity/bunkerized-nginx
synced 2023-12-13 21:30:18 +01:00
centos - update ca-certificates in install script
This commit is contained in:
parent
bc5f3ee88e
commit
31ed4ff834
1 changed files with 3 additions and 1 deletions
|
@ -380,6 +380,8 @@ fi
|
||||||
echo "[*] Update packet list"
|
echo "[*] Update packet list"
|
||||||
if [ "$OS" = "debian" ] || [ "$OS" = "ubuntu" ] ; then
|
if [ "$OS" = "debian" ] || [ "$OS" = "ubuntu" ] ; then
|
||||||
do_and_check_cmd apt update
|
do_and_check_cmd apt update
|
||||||
|
elif [ "$OS" = "archlinux" ] ; then
|
||||||
|
do_and_check_cmd pacman -Sy
|
||||||
fi
|
fi
|
||||||
echo "[*] Install compilation dependencies"
|
echo "[*] Install compilation dependencies"
|
||||||
if [ "$OS" = "debian" ] || [ "$OS" = "ubuntu" ] ; then
|
if [ "$OS" = "debian" ] || [ "$OS" = "ubuntu" ] ; then
|
||||||
|
@ -387,7 +389,7 @@ if [ "$OS" = "debian" ] || [ "$OS" = "ubuntu" ] ; then
|
||||||
DEBIAN_FRONTEND=noninteractive do_and_check_cmd apt install -y $DEBIAN_DEPS
|
DEBIAN_FRONTEND=noninteractive do_and_check_cmd apt install -y $DEBIAN_DEPS
|
||||||
elif [ "$OS" = "centos" ] ; then
|
elif [ "$OS" = "centos" ] ; then
|
||||||
do_and_check_cmd yum install -y epel-release
|
do_and_check_cmd yum install -y epel-release
|
||||||
CENTOS_DEPS="git autoconf pkg-config pcre-devel automake libtool gcc-c++ make gd-devel openssl-devel wget brotli-devel gnupg patch readline-devel"
|
CENTOS_DEPS="git autoconf pkg-config pcre-devel automake libtool gcc-c++ make gd-devel openssl-devel wget brotli-devel gnupg patch readline-devel ca-certificates"
|
||||||
do_and_check_cmd yum install -y $CENTOS_DEPS
|
do_and_check_cmd yum install -y $CENTOS_DEPS
|
||||||
elif [ "$OS" = "fedora" ] ; then
|
elif [ "$OS" = "fedora" ] ; then
|
||||||
FEDORA_DEPS="git autoconf pkg-config pcre-devel automake libtool gcc-c++ make gd-devel openssl-devel wget brotli-devel gnupg libxslt-devel perl-ExtUtils-Embed gperftools-devel patch readline-devel"
|
FEDORA_DEPS="git autoconf pkg-config pcre-devel automake libtool gcc-c++ make gd-devel openssl-devel wget brotli-devel gnupg libxslt-devel perl-ExtUtils-Embed gperftools-devel patch readline-devel"
|
||||||
|
|
Loading…
Reference in a new issue