From 9a2b5b645004ac477053cd6ee19a38fd7df1f8b7 Mon Sep 17 00:00:00 2001 From: Aaron Rainbolt Date: Mon, 12 Feb 2024 17:32:51 -0600 Subject: [PATCH] Sync with archive --- debian/changelog | 15 +++++++++++++++ debian/control | 3 ++- src/lubuntu-update-backend | 4 +++- 3 files changed, 20 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 45ef484..965af27 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,18 @@ +lubuntu-update-notifier (1.0.0~alpha4) noble; urgency=medium + + * Fix infinite loop when no eligible new release is available. + * Fix a bug where only the first eligible new release would be considered. + + -- Aaron Rainbolt Fri, 09 Feb 2024 22:26:59 +0000 + +lubuntu-update-notifier (1.0.0~alpha3) noble; urgency=medium + + * New feature release. Notable additions: + - do-release-upgrade support + * Updated runtime dependencies. + + -- Aaron Rainbolt Fri, 02 Feb 2024 11:37:36 -0600 + lubuntu-update-notifier (1.0.0~alpha2) noble; urgency=medium * New feature release. Notable additions: diff --git a/debian/control b/debian/control index 75bca09..3a585de 100644 --- a/debian/control +++ b/debian/control @@ -12,7 +12,8 @@ Rules-Requires-Root: no Package: lubuntu-update-notifier Architecture: any -Depends: ${misc:Depends}, +Depends: curl, + ${misc:Depends}, ${shlibs:Depends} Description: Lubuntu's update installer Lubuntu Update is an enhanced, modern update installer for the Lubuntu diff --git a/src/lubuntu-update-backend b/src/lubuntu-update-backend index ce47f85..1379c7c 100755 --- a/src/lubuntu-update-backend +++ b/src/lubuntu-update-backend @@ -148,9 +148,11 @@ elif [ "$1" = 'doupdate' ]; then releaseMonth='04'; ((releaseYear++)); fi - if isReleaseSupported "$releaseYear" "$releaseMonth" "$metaReleaseData"; then + releaseSupportedResult="$(isReleaseSupported "$releaseYear" "$releaseMonth" "$metaReleaseData"; echo "$?")"; + if [ "$releaseSupportedResult" = '0' ]; then echo 'Lubuntu Update !!! NEW RELEASE'; echo "$releaseYear.$releaseMonth"; + elif [ "$releaseSupportedResult" = '2' ]; then break; fi done