diff --git a/CHANGELOG.md b/CHANGELOG.md index 4343e4db..5e20ac91 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,7 +29,7 @@ The **patch** part changes incrementally at each release. * evolinux-base: copy GPG key instead of using apt-key * evomaintenance: upstream release 0.6.4 * kvm-host: replace the "kvm-tools" package with scripts deployed by Ansible -* listupgrade: upstream release 21.06.1 +* listupgrade: upstream release 21.06.2 * nodejs: change GPG key name * ntpd: Add leapfile configuration setting to ntpd on debian 10+ * packweb-apache: install phpMyAdmin from buster-backports diff --git a/listupgrade/files/listupgrade.sh b/listupgrade/files/listupgrade.sh index d3499098..3c64f37e 100644 --- a/listupgrade/files/listupgrade.sh +++ b/listupgrade/files/listupgrade.sh @@ -7,7 +7,7 @@ # - 60 : current release is not in the $r_releases list # - 70 : at least an upgradable package is not in the $r_packages list -VERSION="21.06.1" +VERSION="21.06.2" show_version() { cat <&1 | (grep -E -ve '^(Listing|WARNING|$)' -e upgraded -e 'up to date' || true)) @@ -282,6 +285,9 @@ main() { render_mail_template "${template}" /usr/sbin/sendmail "${mailto}" <"${template}" + if ! cron_mode; then + echo "Dowloading packages..." + fi # Now we try to fetch all the packages for the next update session downloadstatus=$(apt -o Dir::State::Lists="${listupgrade_state_dir}" dist-upgrade --assume-yes --download-only -q2 2>&1) echo "${downloadstatus}" | grep -q 'Download complete and in download only mode'