feat(octoeverywhere): add OE to the "update all" action (#311)

This commit is contained in:
Quinn Damerell
2023-03-11 14:52:46 -08:00
committed by GitHub
parent 1215446a6c
commit ae9e79c579
2 changed files with 5 additions and 3 deletions

View File

@@ -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}"

View File

@@ -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} |"