This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

bgt-check: fix shellcheck

+3 -3
+3 -3
2configs/bgt-bot/bgt-check.sh
··· 40 40 fi 41 41 prevstate=$(cat state ||:) 42 42 43 - if test "$state" == "$(cat state)";then 43 + if test "$state" = "$(cat state)";then 44 44 #echo "current and last state is the same ($state), doing nothing" 45 45 : 46 46 else 47 47 echo "API state and last state differ ( '$state' != '$prevstate')" 48 - if test "$state" == 'live';then 48 + if test "$state" = 'live';then 49 49 send_reaktor "$live" 50 - elif test "$state" == 'offline';then 50 + elif test "$state" = 'offline';then 51 51 send_reaktor "$offline" 52 52 else 53 53 send_reaktor "$error"