Skip to content

Commit

Permalink
fix: ldap deps in install-dependencies.sh (#5385)
Browse files Browse the repository at this point in the history
  • Loading branch information
leslie-tsang authored Nov 1, 2021
1 parent 9fc67b1 commit 042ce5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion t/plugin/ldap-auth.t
Original file line number Diff line number Diff line change
Expand Up @@ -308,4 +308,4 @@ find consumer user01
)
ngx.status = code
}
}
}
3 changes: 1 addition & 2 deletions utils/install-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,9 @@ function install_dependencies_with_yum() {
# add OpenResty source
sudo yum install yum-utils
sudo yum-config-manager --add-repo "https://openresty.org/package/${1}/openresty.repo"
sudo yum check-update

# install OpenResty and some compilation tools
sudo yum install -y openresty curl git gcc openresty-openssl111-devel unzip pcre pcre-devel libldap2-dev
sudo yum install -y openresty curl git gcc openresty-openssl111-devel unzip pcre pcre-devel openldap-devel
}

# Install dependencies on ubuntu and debian
Expand Down

0 comments on commit 042ce5c

Please sign in to comment.