diff --git a/CHANGELOG.md b/CHANGELOG.md index 31ce19c8..e57275a1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ The **patch** part changes is incremented if multiple releases happen the same m * evocheck: upstream release 21.10.4 * evolinux-users + nagios-nrpe: Add support for php-fpm80 in lxc +* listupgrade: old-kernel-removal version 21.10 * mongodb: Deny the install on Debian 11 « Bullseye » when the version is unsupported * mongodb: Support version 5.0 (for buster) * mongodb: Allow to specify a mongodb version for buster & bullseye diff --git a/listupgrade/files/old-kernel-autoremoval.sh b/listupgrade/files/old-kernel-autoremoval.sh index ceed0b99..ce1c6002 100644 --- a/listupgrade/files/old-kernel-autoremoval.sh +++ b/listupgrade/files/old-kernel-autoremoval.sh @@ -4,13 +4,36 @@ # fork by reg from /etc/kernel/postinst.d/apt-auto-removal script -VERSION="21.06.3" +VERSION="21.10" +readonly VERSION -set -e +PROGNAME=$(basename "$0") -# shellcheck disable=SC2046 -eval $(apt-config shell DPKG Dir::bin::dpkg/f) -DPKG="${DPKG:-/usr/bin/dpkg}" +show_version() { + cat <, + Gregory Colpart , + Romain Dessort , + Ludovic Poujol , + Jérémy Lecour + and others. + +${PROGNAME} comes with ABSOLUTELY NO WARRANTY. This is free software, +and you are welcome to redistribute it under certain conditions. +See the GNU General Public Licence for details. +END +} +show_help() { + cat <&2 + fi + ;; + *) + # Default case: If no more options then break out of the loop. + break + ;; + esac + + shift +done + +set -e + + +main "${@}"