commit 32edaa1c54c5b6fcfb763b9dc3a7709f157ff444
parent 5bba5b7e461a9871de0efe5f5ef3b0808d144c82
Author: Christian Grothoff <grothoff@gnunet.org>
Date: Thu, 14 Aug 2025 15:28:13 +0200
do not use variablenames for usernames/groupnames as suggested by Florian
Diffstat:
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/debian/challenger-httpd.postinst b/debian/challenger-httpd.postinst
@@ -19,17 +19,15 @@ if [ "$1" = "purge" ]; then
fi
CHALLENGER_HOME="/var/lib/challenger/"
-_USERNAME=challenger-httpd
-_GROUPNAME=www-data
. /usr/share/debconf/confmodule
case "${1}" in
configure)
# Creating taler users if needed
- if ! getent passwd ${_USERNAME} >/dev/null
+ if ! getent passwd challenger-httpd >/dev/null
then
- adduser --quiet --system --ingroup ${_GROUPNAME} --no-create-home --home ${CHALLENGER_HOME} ${_USERNAME}
+ adduser --quiet --system --ingroup www-data --no-create-home --home ${CHALLENGER_HOME} challenger-httpd
fi
# Try to generate compressed versions of the SPA
diff --git a/debian/control b/debian/control
@@ -29,6 +29,7 @@ Depends:
libtalerexchange (>= 1.0.0),
libgnutls30 (>= 3.7.1),
adduser,
+ zstd,
lsb-base,
netbase,
${misc:Depends},