aboutsummaryrefslogtreecommitdiff
path: root/debian/taler-exchange-offline.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/taler-exchange-offline.postinst')
-rw-r--r--debian/taler-exchange-offline.postinst6
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
;;