Add moonraker-telegram-bot to kiauh

This commit is contained in:
Evgenii
2021-09-11 00:50:41 +03:00
parent 89dc6d2d14
commit e2407b3a92
12 changed files with 241 additions and 20 deletions

View File

@@ -39,6 +39,9 @@ update_all(){
if [ "$KLIPPERSCREEN_UPDATE_AVAIL" = "true" ]; then
echo -e "| ${cyan}● KlipperScreen${default} |"
fi
if [ "$MOONRAKERTELEGRAMBOT_UPDATE_AVAIL" = "true" ]; then
echo -e "| ${cyan}● moonraker-telegram-bot${default} |"
fi
if [ "$SYS_UPDATE_AVAIL" = "true" ]; then
echo -e "| ${cyan}● System${default} |"
fi
@@ -170,6 +173,15 @@ update_klipperscreen(){
start_klipperscreen
}
update_moonraker-telegram-bot(){
stop_moonraker-telegram-bot
cd $MOONRAKERTELEGRAMBOT_DIR
git pull
./install.sh
ok_msg "Update complete!"
start_moonraker-telegram-bot
}
update_system(){
status_msg "Updating System ..."
sudo apt-get update && sudo apt-get upgrade -y