From 8903641dbb848b935f84cd39153f032324c35f23 Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Thu, 21 Mar 2024 18:28:39 -0400 Subject: [PATCH] fix(nginx) closes #5212 --- projects/nginx.org/package.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/projects/nginx.org/package.yml b/projects/nginx.org/package.yml index b43154c5..0aed46e1 100644 --- a/projects/nginx.org/package.yml +++ b/projects/nginx.org/package.yml @@ -14,7 +14,7 @@ dependencies: build: script: | ./configure $ARGS - make --jobs {{ hw.concurrency }} + make --jobs {{ hw.concurrency }} make install env: ARGS: @@ -26,6 +26,9 @@ provides: - sbin/nginx test: - script: | - sed -i.bak -e 's/80/8080/g' {{prefix}}/conf/nginx.conf - nginx -p {{prefix}} -c {{prefix}}/conf/nginx.conf -t + script: + # won't run without `nogroup` + - run: if ! getent group nogroup; then exit 0; fi + if: linux + - sed -i.bak -e 's/80/8080/g' {{prefix}}/conf/nginx.conf + - nginx -p {{prefix}} -c {{prefix}}/conf/nginx.conf -t