[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-deployment] branch master updated: dependencies.

From: gnunet
Subject: [GNUnet-SVN] [taler-deployment] branch master updated: dependencies.
Date: Sat, 08 Jun 2019 19:54:42 +0200

This is an automated email from the git hooks/post-receive script.

marcello pushed a commit to branch master
in repository deployment.

The following commit(s) were added to refs/heads/master by this push:
     new d545c73  dependencies.
d545c73 is described below

commit d545c73fcf80611dd8bae741d4f4253b96dd0506
Author: Marcello Stanisci <address@hidden>
AuthorDate: Sat Jun 8 19:54:10 2019 +0200

    the "shared-data" script only starts if config was first generated.
 bin/taler-deployment-shared-data | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/bin/taler-deployment-shared-data b/bin/taler-deployment-shared-data
index d15083f..01c8bc7 100755
--- a/bin/taler-deployment-shared-data
+++ b/bin/taler-deployment-shared-data
@@ -21,9 +21,14 @@ if ! test -e $SHARED_DATA; then
   exit 1
+if ! test -e $HOME/.conf/taler.conf; then
+  echo "Please generate config first (taler-deployment-config-generate)."
+  exit 1
 # Check if shared-data/ is clean.
-if ls -L -1 $SHARED_DATA | grep -q [a-zA-Z]; then
-  echo "$SHARED_DATA not empty, exiting"
+if test -e $SHARED_DATA/hier.lock; then
+  echo "$SHARED_DATA locked, exiting"
   exit 0
@@ -63,6 +68,11 @@ declare -A TALER_DIRS=(
 for dir in ${TALER_DIRS[@]}; do
+  ##
+  # Ineffective for exchange's and auditor's privs paths
+  # as those were created when the configuration was generated
+  # (recall: this script is very dependent on taler.conf!)
   mkdir -p $dir

To stop receiving notification emails like this one, please contact

reply via email to

[Prev in Thread] Current Thread [Next in Thread]