dw-0 / kiauh

Klipper Installation And Update Helper
GNU General Public License v3.0
3.4k stars 491 forks source link

grep: /etc/systemd/system/crowsnest.service: No such file or directory -> in Main Menu #308

Closed DrKlipper closed 1 year ago

DrKlipper commented 1 year ago

Linux Distribution

pi@P3Test:~/kiauh $ cat /etc/os-release PRETTY_NAME="Raspbian GNU/Linux 10 (buster)" NAME="Raspbian GNU/Linux" VERSION_ID="10" VERSION="10 (buster)" VERSION_CODENAME=buster ID=raspbian ID_LIKE=debian HOME_URL="http://www.raspbian.org/" SUPPORT_URL="http://www.raspbian.org/RaspbianForums" BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

What happened

If you start kiauh on a system where no crowsnest is installed you get an error message wihtin the main menu:

/=======================================================\
|     ~~~~~~~~~~~~~~~ [ Main Menu ] ~~~~~~~~~~~~~~~     |
|-------------------------------------------------------|
|  0) [Log-Upload]   |       Klipper: Installed: 1      |
|                    |          Repo: Klipper3d/klipper |
|  1) [Install]      |                                  |
|  2) [Update]       |     Moonraker: Installed: 1      |
|  3) [Remove]       |                                  |
|  4) [Advanced]     |      Mainsail: Installed!        |
|                    |        Fluidd: Not installed!    |
|                    | KlipperScreen: Installed!        |
|  6) [Settings]     |  Telegram Bot: Not installed!    |
grep: /etc/systemd/system/crowsnest.service: No such file or directory
|                    |     Crowsnest: Not installed!    |
|                    |         Obico: Not installed!    |
|                    |                                  |
|  v5.0.0-25         |     Octoprint: Not installed!    |
|-------------------------------------------------------|
|                        Q) Quit                        |
\=======================================================/

When crowsnest is installed this message is gone.

What did you expect to happen

No interrupted main menu :-)

How to reproduce

Start kiauh on a system without installed crowsnest

Additional information

No response