summaryrefslogtreecommitdiff
path: root/bin/taler-deployment-config-generate
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-01-22 15:03:13 +0100
committerFlorian Dold <florian.dold@gmail.com>2020-01-22 15:03:13 +0100
commita03ef9cc605629d2bd38b707d037b4b2890718d5 (patch)
tree75cc16b7a362ad50c61015981052bc70567e7e97 /bin/taler-deployment-config-generate
parent5f74af3124f2d7088800a7904aa5a9a2c1a0eae3 (diff)
downloaddeployment-a03ef9cc605629d2bd38b707d037b4b2890718d5.tar.gz
deployment-a03ef9cc605629d2bd38b707d037b4b2890718d5.tar.bz2
deployment-a03ef9cc605629d2bd38b707d037b4b2890718d5.zip
use prepare script
Diffstat (limited to 'bin/taler-deployment-config-generate')
-rwxr-xr-xbin/taler-deployment-config-generate30
1 files changed, 0 insertions, 30 deletions
diff --git a/bin/taler-deployment-config-generate b/bin/taler-deployment-config-generate
deleted file mode 100755
index 73de882..0000000
--- a/bin/taler-deployment-config-generate
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/bash
-
-# Generate the taler configuration based on environment variables.
-# These variables are usually defined in $HOME/activate.
-# Some configuration files still need to be signed with taler-deployment-config-sign.
-# It overwrites previous config files.
-#
-#
-
-set -eu
-
-if [[ -z ${TALER_ENV_NAME+x} ]]; then
- echo "TALER_ENV_NAME not set"
- exit 1
-fi
-
-if [[ -z ${TALER_CONFIG_CURRENCY+x} ]]; then
- echo "TALER_CONFIG_CURRENCY not set"
- exit 1
-fi
-
-EXCHANGE_PUB=$(gnunet-ecc -p $HOME/deployment/private-keys/${TALER_ENV_NAME}-exchange-master.priv)
-
-mkdir -p $HOME/.config
-
-$HOME/deployment/config/generate-config \
- --exchange-pub "$EXCHANGE_PUB" \
- --currency "$TALER_CONFIG_CURRENCY" \
- --outdir $HOME/.config \
- --envname "$TALER_ENV_NAME"