Skip to content

Commit 4696de6

Browse files
committed
add deprecation warning for CentOS 7 / RHEL 7
With this patch: sh -c install.sh # Executing docker install script, commit: DEPRECATION WARNING This Linux distribution (centos 7) reached end-of-life and is no longer supported by this script. No updates or security fixes will be released for this distribution, and users are recommended to upgrade to a currently maintained version of centos. Press Ctrl+C now to abort this script, or wait for the installation to continue. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1 parent 357b0b4 commit 4696de6

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

install.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -473,6 +473,9 @@ do_install() {
473473
# Print deprecation warnings for distro versions that recently reached EOL,
474474
# but may still be commonly used (especially LTS versions).
475475
case "$lsb_dist.$dist_version" in
476+
centos.7|rhel.7)
477+
deprecation_notice "$lsb_dist" "$dist_version"
478+
;;
476479
debian.stretch|debian.jessie)
477480
deprecation_notice "$lsb_dist" "$dist_version"
478481
;;

0 commit comments

Comments
 (0)