forked from evolix/ansible-roles
listupgrade: upstream release 21.06.3
This commit is contained in:
parent
11813c31a4
commit
b0b24744d6
|
@ -16,6 +16,8 @@ The **patch** part changes incrementally at each release.
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
|
* listupgrade: upstream release 21.06.3
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
* certbot: sync_remote excludes itself
|
* certbot: sync_remote excludes itself
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
# - 60 : current release is not in the $r_releases list
|
# - 60 : current release is not in the $r_releases list
|
||||||
# - 70 : at least an upgradable package is not in the $r_packages list
|
# - 70 : at least an upgradable package is not in the $r_packages list
|
||||||
|
|
||||||
VERSION="21.06.2"
|
VERSION="21.06.3"
|
||||||
|
|
||||||
show_version() {
|
show_version() {
|
||||||
cat <<END
|
cat <<END
|
||||||
|
@ -121,7 +121,7 @@ EOT
|
||||||
# are executed if they are executable
|
# are executed if they are executable
|
||||||
# and if their name doesn't contain a dot
|
# and if their name doesn't contain a dot
|
||||||
exec_hooks_in_dir() {
|
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
|
for hook in ${hooks}; do
|
||||||
if ! cron_mode; then
|
if ! cron_mode; then
|
||||||
printf "Running '%s\`\n" "${hook}"
|
printf "Running '%s\`\n" "${hook}"
|
||||||
|
@ -178,13 +178,14 @@ main() {
|
||||||
echo 'Aucun' >"${packagesHold}"
|
echo 'Aucun' >"${packagesHold}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
local_release=$(cut -f 1 -d . </etc/debian_version)
|
||||||
|
|
||||||
if force_mode; then
|
if force_mode; then
|
||||||
if ! cron_mode; then
|
if ! cron_mode; then
|
||||||
echo "Force mode is enabled, as if every release/package is available for upgrade."
|
echo "Force mode is enabled, as if every release/package is available for upgrade."
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
fetch_upgrade_info
|
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.
|
# 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
|
if [ "${r_skip_releases}" = "all" ] || [ "${r_skip_packages}" = "all" ]; then
|
||||||
|
|
Loading…
Reference in a new issue