commit 751631a07eda6f773e61185ad0bb17aad3fc7509 parent bff3965c0ffb3f63acbf9fd3be3cc7037553279c Author: Christian Grothoff <christian@grothoff.org> Date: Sat, 9 Sep 2023 15:43:29 +0200 formatting Diffstat:
| M | debian/challenger-httpd.postinst | | | 7 | ++++--- |
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/debian/challenger-httpd.postinst b/debian/challenger-httpd.postinst @@ -27,9 +27,10 @@ _GROUPNAME=www-data case "${1}" in configure) # Creating taler users if needed - if ! getent passwd ${_USERNAME} >/dev/null; then - adduser --quiet --system --ingroup ${_GROUPNAME} --no-create-home --home ${CHALLENGER_HOME} ${_USERNAME} - fi + if ! getent passwd ${_USERNAME} >/dev/null + then + adduser --quiet --system --ingroup ${_GROUPNAME} --no-create-home --home ${CHALLENGER_HOME} ${_USERNAME} + fi ;;