summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/taler-exchange.postinst2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/taler-exchange.postinst b/debian/taler-exchange.postinst
index 1c776c7ef..2d7e55627 100644
--- a/debian/taler-exchange.postinst
+++ b/debian/taler-exchange.postinst
@@ -17,7 +17,7 @@ function lncfg() {
local cf=$TALER_HOME/$2/.config
if [ ! -e $cf ]; then
mkdir $cf
- chown $1:$1 $cf
+ chown $(stat -L -c %u $TALER_HOME/$2):$(stat -L -c %g $TALER_HOME/$2) $cf
fi
ln -sf $cf/taler.conf $3
}