Skip to content
This repository was archived by the owner on Apr 10, 2025. It is now read-only.

Commit ab07fb8

Browse files
authored
Fix ngx_pagespeed installing dependency packages (#1498)
- Fix auto-install of required packages by fixing quoting (thanks @jeffkaufman!). - Add libuuid-devel for redhat-based distro's too. Fixes apache/incubator-pagespeed-mod#1680
1 parent 605e61f commit ab07fb8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/build_ngx_pagespeed.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ add support for dynamic modules in a way compatible with ngx_pagespeed until
486486
status "Detected debian-based distro."
487487

488488
install_dependencies "apt-get install" debian_is_installed \
489-
"build-essential zlib1g-dev libpcre3 libpcre3-dev unzip uuid-dev"
489+
build-essential zlib1g-dev libpcre3 libpcre3-dev unzip uuid-dev
490490

491491
if gcc_too_old; then
492492
if [ ! -e /usr/lib/gcc-mozilla/bin/gcc ]; then
@@ -504,7 +504,7 @@ add support for dynamic modules in a way compatible with ngx_pagespeed until
504504
status "Detected redhat-based distro."
505505

506506
install_dependencies "yum install" redhat_is_installed \
507-
"gcc-c++ pcre-devel zlib-devel make unzip wget"
507+
gcc-c++ pcre-devel zlib-devel make unzip wget libuuid-devel
508508
if gcc_too_old; then
509509
if [ ! -e /opt/rh/devtoolset-2/root/usr/bin/gcc ]; then
510510
redhat_major_version=$(

0 commit comments

Comments
 (0)