chore: clean unmaintained centos files (#2212)

Fix #1475
This commit is contained in:
Jonas L 2022-10-08 08:07:53 +02:00 committed by GitHub
parent de7f87a092
commit e991870e2d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 173 deletions

View file

@ -298,7 +298,6 @@ service_restart_if_active() {
is_ubuntu=false
is_debian=false
is_centos=false
distro="unknown"
check_distribution() {
@ -315,7 +314,6 @@ check_distribution() {
debian-11) is_debian=true && distro="bullseye" ;;
ubuntu-18.04) is_ubuntu=true && distro="bionic" ;;
ubuntu-20.04) is_ubuntu=true && distro="focal" ;;
centos-8) is_centos=true && distro="centos8" ;;
*)
error << "EOF"
could not determine supported distribution "$ID-$VERSION_ID"!