force remove

This commit is contained in:
Christian Grothoff 2020-08-29 13:39:57 +02:00
parent d2003378ac
commit fa27c11662
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -183,7 +183,7 @@ export susp=$(echo "$coins" | jq --arg rc "$rc" '[.coins[] | select(.coin_pub !=
# Do the revocation # Do the revocation
taler-exchange-keyup -o e2a2.dat -c $CONF -r $rd taler-exchange-keyup -o e2a2.dat -c $CONF -r $rd
taler-auditor-sign -c $CONF -u $AUDITOR_URL -r e2a2.dat -o a2e2.dat -m $MASTER_PUB taler-auditor-sign -c $CONF -u $AUDITOR_URL -r e2a2.dat -o a2e2.dat -m $MASTER_PUB
rm e2a2.dat rm -f e2a2.dat
mv a2e2.dat $ABD mv a2e2.dat $ABD
# Restart the exchange... # Restart the exchange...
@ -277,7 +277,7 @@ export susp=$(echo "$coins" | jq --arg freshc "$freshc" '[.coins[] | select(.coi
echo "Revoking ${fresh_denom} (to affect coin ${freshc})" echo "Revoking ${fresh_denom} (to affect coin ${freshc})"
taler-exchange-keyup -c $CONF -o e2a3.dat -r $fresh_denom taler-exchange-keyup -c $CONF -o e2a3.dat -r $fresh_denom
taler-auditor-sign -c $CONF -u $AUDITOR_URL -r e2a3.dat -o a2e3.dat -m $MASTER_PUB taler-auditor-sign -c $CONF -u $AUDITOR_URL -r e2a3.dat -o a2e3.dat -m $MASTER_PUB
rm e2a3.dat rm -f e2a3.dat
mv a2e3.dat $ABD mv a2e3.dat $ABD
# Restart the exchange... # Restart the exchange...
@ -343,10 +343,10 @@ date +%s > ${BASEDB}.age
# clean up # clean up
echo "Final clean up (disabled)" echo "Final clean up"
dropdb $TARGET_DB dropdb $TARGET_DB
rm -r $DATA_DIR || true rm -rf $DATA_DIR || true
rm $CONF rm -f $CONF
rm -r $TMP_DIR rm -r $TMP_DIR
echo "=====================================" echo "====================================="