From ae9e79c579e890eee451ce480db670ee633eecba Mon Sep 17 00:00:00 2001 From: Quinn Damerell Date: Sat, 11 Mar 2023 14:52:46 -0800 Subject: [PATCH] feat(octoeverywhere): add OE to the "update all" action (#311) --- scripts/octoeverywhere.sh | 5 ++--- scripts/ui/update_menu.sh | 3 +++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/scripts/octoeverywhere.sh b/scripts/octoeverywhere.sh index 6946b57..ff953ce 100644 --- a/scripts/octoeverywhere.sh +++ b/scripts/octoeverywhere.sh @@ -384,9 +384,8 @@ function compare_octoeverywhere_versions() { if [[ ${local_ver} != "${remote_ver}" ]]; then versions="${yellow}$(printf " %-14s" "${local_ver}")${white}" versions+="|${green}$(printf " %-13s" "${remote_ver}")${white}" - # Don't do this, since we don't want Kiauh to update us, since we might need package updates. - # add moonraker to application_updates_available in kiauh.ini - # add_to_application_updates "octoeverywhere" + # Add us to the update file, so if the user selects "update all" it includes us. + add_to_application_updates "octoeverywhere" else versions="${green}$(printf " %-14s" "${local_ver}")${white}" versions+="|${green}$(printf " %-13s" "${remote_ver}")${white}" diff --git a/scripts/ui/update_menu.sh b/scripts/ui/update_menu.sh index f060536..61e61ee 100755 --- a/scripts/ui/update_menu.sh +++ b/scripts/ui/update_menu.sh @@ -120,6 +120,9 @@ function update_all() { [[ "${update_arr[*]}" =~ "telegram_bot" ]] && \ echo -e "| ${cyan}● MoonrakerTelegramBot${white} |" + [[ "${update_arr[*]}" =~ "octoeverywhere" ]] && \ + echo -e "| ${cyan}● OctoEverywhere${white} |" + [[ "${update_arr[*]}" =~ "system" ]] && \ echo -e "| ${cyan}● System${white} |"