summaryrefslogtreecommitdiff
path: root/taler-build/switch_bluegreen.sh
blob: e91d1bd2914f5a7d1b10b58424c18a7ef5ebeda6 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

active=$(sudo -u test cat /home/test/active)
nonactive="test-blue"

if test $active="test-blue"; then
  nonactive="test-green"
fi

echo $nonactive