commit 7ec59c86e422d2c39726075b408c584b0aa057ff
parent 67926de65c3c6204b96a3d5fa4c4ea44b912387e
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date: Sat, 8 Jun 2019 19:58:47 +0200
moving check
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bin/taler-deployment-shared-data b/bin/taler-deployment-shared-data
@@ -13,8 +13,6 @@ if test -z $TALER_CONFIG_ENV; then
exit 1
fi
-SHARED_DATA=$(taler-config -s paths -o taler_deployment_shared -f)
-
# Check shared-data/ exists
if ! test -e $SHARED_DATA; then
echo "Please bootstrap your setup first (run 'bootstrap-bluegreen' script?)."
@@ -26,6 +24,8 @@ if ! test -e $HOME/.conf/taler.conf; then
exit 1
fi
+SHARED_DATA=$(taler-config -s paths -o taler_deployment_shared -f)
+
# Check if shared-data/ is clean.
if test -e $SHARED_DATA/hier.lock; then
echo "$SHARED_DATA locked, exiting"