listupgrade: upstream release 21.06.3

This commit is contained in:
Jérémy Lecour 2021-07-02 13:59:42 +02:00 committed by Jérémy Lecour
parent 11813c31a4
commit b0b24744d6
2 changed files with 6 additions and 3 deletions

View File

@ -16,6 +16,8 @@ The **patch** part changes incrementally at each release.
### Changed
* listupgrade: upstream release 21.06.3
### Fixed
* certbot: sync_remote excludes itself

View File

@ -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.2"
VERSION="21.06.3"
show_version() {
cat <<END
@ -121,7 +121,7 @@ EOT
# are executed if they are executable
# and if their name doesn't contain a dot
exec_hooks_in_dir() {
hooks=$(find "${1}" -type f -executable -not -name '*.*')
hooks=$(find "${1}" -type f -executable -not -name '*.* -print0 | sort --zero-terminated --dictionary-order | xargs --no-run-if-empty --null --max-args=1')
for hook in ${hooks}; do
if ! cron_mode; then
printf "Running '%s\`\n" "${hook}"
@ -178,13 +178,14 @@ main() {
echo 'Aucun' >"${packagesHold}"
fi
local_release=$(cut -f 1 -d . </etc/debian_version)
if force_mode; then
if ! cron_mode; then
echo "Force mode is enabled, as if every release/package is available for upgrade."
fi
else
fetch_upgrade_info
local_release=$(cut -f 1 -d . </etc/debian_version)
# Exit if skip_releases or skip_packages in upgrade info file are set to all.
if [ "${r_skip_releases}" = "all" ] || [ "${r_skip_packages}" = "all" ]; then