diff options
author | Florian Dold <florian@dold.me> | 2021-07-29 20:55:04 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-07-29 20:55:04 +0200 |
commit | e592ef40578d57797e5df9a81be9f742bb0b3511 (patch) | |
tree | 887b9e7d5f58733f3fd616688c5bde070fdb8ef6 /debian/taler-exchange-offline.postinst | |
parent | ce4daddca0ef0b455ed6a09fc9e4478f41d72914 (diff) |
debian: don't create home directories for every user
Diffstat (limited to 'debian/taler-exchange-offline.postinst')
-rw-r--r-- | debian/taler-exchange-offline.postinst | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/debian/taler-exchange-offline.postinst b/debian/taler-exchange-offline.postinst index b58e6f48e..e22ad5920 100644 --- a/debian/taler-exchange-offline.postinst +++ b/debian/taler-exchange-offline.postinst @@ -1,9 +1,10 @@ +#!/bin/bash set -e . /usr/share/debconf/confmodule -TALER_HOME="/var/lib/taler-exchange" +TALER_HOME="/var/lib/taler" case "${1}" in configure) @@ -15,7 +16,8 @@ configure) if ! getent passwd taler-exchange-offline >/dev/null; then adduser --quiet --system \ --ingroup taler-exchange-offline \ - --home ${TALER_HOME}/offline taler-exchange-offline + --no-create-home \ + --home ${TALER_HOME} taler-exchange-offline fi ;; |