Add moonraker-telegram-bot to kiauh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user