diff options
author | Matt Housh <jaeger@crux.ninja> | 2016-02-24 23:23:05 -0600 |
---|---|---|
committer | Matt Housh <jaeger@crux.ninja> | 2016-02-24 23:23:05 -0600 |
commit | cd444cfdf9189a53adab772678e1c714ecc48659 (patch) | |
tree | 6f01513a45a3ac523d122b78468001c4337a268c /nginx/pre-install | |
parent | a43b9446a6e5b2db635f472332811e3b77fe6779 (diff) | |
download | contrib-cd444cfdf9189a53adab772678e1c714ecc48659.tar.gz contrib-cd444cfdf9189a53adab772678e1c714ecc48659.tar.xz |
nginx: fixed pre-install script syntax
Diffstat (limited to 'nginx/pre-install')
-rwxr-xr-x | nginx/pre-install | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nginx/pre-install b/nginx/pre-install index 748810949..cb1068abc 100755 --- a/nginx/pre-install +++ b/nginx/pre-install @@ -1,10 +1,10 @@ #!/bin/sh -if [ -z `getent group nginx` ]; then +if [ -z "`getent group nginx`" ]; then /usr/sbin/groupadd --system nginx fi -if [ -z `getent passwd nginx` ]; then +if [ -z "`getent passwd nginx`" ]; then /usr/sbin/useradd -r -g nginx -d /etc/nginx -s /bin/false -c "nginx server" nginx /usr/bin/passwd -l nginx fi |