blob: 0c1e5d10ab3dce09dcf7145299e03e0ce3645547 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/bash
source "${HOME}/activate"
ACTIVE_COLOR="$(cat /home/test/active)"
if ! test "${TALER_ENV_COLOR}" = "${ACTIVE_COLOR}"; then
echo "I'm the inactive color (${TALER_ENV_COLOR}), will not top the reserve up!"
exit 0
fi
taler-deployment-top-reserve
|