This commit is contained in:
Evgenii
2021-09-11 02:04:50 +03:00
parent 5fa5149d8f
commit 68ccadb06f

View File

@@ -249,9 +249,9 @@ MoonrakerTelegramBot_status(){
mtbcount=$(expr $mtbcount + 1) mtbcount=$(expr $mtbcount + 1)
fi fi
done done
if [ "$mtbccount" == "${#MoonrakerTelegramBot_data[*]}" ]; then if [ "$mtbcount" == "${#MoonrakerTelegramBot_data[*]}" ]; then
MOONRAKERTELEGRAMBOT_STATUS="${green}Installed!${default} " MOONRAKERTELEGRAMBOT_STATUS="${green}Installed!${default} "
elif [ "$klsccount" == 0 ]; then elif [ "$mtbcount" == 0 ]; then
MOONRAKERTELEGRAMBOT_STATUS="${red}Not installed!${default} " MOONRAKERTELEGRAMBOT_STATUS="${red}Not installed!${default} "
else else
MOONRAKERTELEGRAMBOT_STATUS="${yellow}Incomplete!${default} " MOONRAKERTELEGRAMBOT_STATUS="${yellow}Incomplete!${default} "