aboutsummaryrefslogtreecommitdiff
path: root/debian/taler-exchange-offline.postinst
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2021-07-29 13:41:49 +0200
committerFlorian Dold <florian@dold.me>2021-07-29 13:41:49 +0200
commita367347a54338641180083573698b1fb48aced55 (patch)
tree4e0310ab335b58e68b9711eb3b33fa1c620b8785 /debian/taler-exchange-offline.postinst
parent036d4cb71ac1abe1990c936ee1f3b2cbf15d14c1 (diff)
simplify configuration
Diffstat (limited to 'debian/taler-exchange-offline.postinst')
-rw-r--r--debian/taler-exchange-offline.postinst16
1 files changed, 0 insertions, 16 deletions
diff --git a/debian/taler-exchange-offline.postinst b/debian/taler-exchange-offline.postinst
index a0659232a..b93761de1 100644
--- a/debian/taler-exchange-offline.postinst
+++ b/debian/taler-exchange-offline.postinst
@@ -1,4 +1,3 @@
-#!/bin/bash
set -e
@@ -6,16 +5,6 @@ set -e
TALER_HOME="/var/lib/taler-exchange"
-# usage: lncfg user home target
-function lncfg() {
- local cf=$TALER_HOME/$2/.config
- if [ ! -e $cf ]; then
- mkdir $cf
- chown $(stat -L -c %u $TALER_HOME/$2):$(stat -L -c %g $TALER_HOME/$2) $cf
- fi
- ln -sf $3 $cf/taler.conf
-}
-
case "${1}" in
configure)
@@ -29,11 +18,6 @@ configure)
--home ${TALER_HOME}/offline taler-exchange-offline
fi
- lncfg taler-exchange-offline offline /etc/taler/exchange-offline.conf
-
- echo "All done."
- ;;
-
abort-upgrade | abort-remove | abort-deconfigure) ;;
*)