Skip to content

Commit

Permalink
[DEPS] Ensure ngx_brotli deps directory exists before moving Brotli f…
Browse files Browse the repository at this point in the history
…iles
  • Loading branch information
TheophileDiot committed Jan 17, 2025
1 parent 5d5a8d5 commit 6e4867e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/deps/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,9 @@ export CHANGE_DIR="/tmp/bunkerweb/deps/misc"
do_and_check_cmd bash -c "mv ngx_http_modsecurity_access.c /tmp/bunkerweb/deps/src/modsecurity-nginx/src/"

# Move brotli to ngx_brotli deps directory
if [ ! -d "/tmp/bunkerweb/deps/src/ngx_brotli/deps" ] ; then
do_and_check_cmd mkdir /tmp/bunkerweb/deps/src/ngx_brotli/deps
fi
do_and_check_cmd mv /tmp/bunkerweb/deps/src/brotli /tmp/bunkerweb/deps/src/ngx_brotli/deps/brotli

# Compile dynamic modules
Expand Down

0 comments on commit 6e4867e

Please sign in to comment.