anastasis

Credential backup and recovery protocol and service
Log | Files | Refs | Submodules | README | LICENSE

commit e3089acb95310d5d37a4f30b158fb00074d87986
parent 0f150d3c755c820615e9b976fb6ad67eeb73cd99
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sat,  9 Sep 2023 15:44:26 +0200

formatting

Diffstat:
Mdebian/anastasis-httpd.postinst | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/anastasis-httpd.postinst b/debian/anastasis-httpd.postinst @@ -27,11 +27,12 @@ _GROUPNAME=www-data case "${1}" in configure) # Creating taler users if needed - if ! getent passwd ${_USERNAME} >/dev/null; then + if ! getent passwd ${_USERNAME} >/dev/null + then adduser --quiet --system --ingroup ${_GROUPNAME} --no-create-home --home ${ANASTASIS_HOME} ${_USERNAME} fi - if ! dpkg-statoverride --list /etc/anastasis/secrets/anastasis-db.secret.conf >/dev/null 2>&1; + if ! dpkg-statoverride --list /etc/anastasis/secrets/anastasis-db.secret.conf >/dev/null 2>&1 then dpkg-statoverride --add --update \ anastasis-httpd root 460 \