From e418b4c1780c54b93989e0ed77eda35be3b090c9 Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Thu, 28 Dec 2023 09:57:26 -0800 Subject: [PATCH] DHCPd package is named dhcp-server on RHEL 9 https://github.com/webmin/webmin/issues/2066 --- software/yum-lib.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/software/yum-lib.pl b/software/yum-lib.pl index 1462443b8..2888cf92a 100755 --- a/software/yum-lib.pl +++ b/software/yum-lib.pl @@ -216,7 +216,7 @@ local ($name) = @_; local $maria = $gconfig{'real_os_type'} =~ /CentOS|Redhat|Scientific/ && $gconfig{'real_os_version'} >= 7; return $name eq "apache" ? "httpd mod_.*" : - $name eq "dhcpd" ? "dhcp" : + $name eq "dhcpd" ? "dhcp dhcp-server" : $name eq "mysql" && $maria ? "mariadb mariadb-server mariadb-devel" : $name eq "mysql" && !$maria ? "mysql mysql-server mysql-devel" : $name eq "openssh" ? "openssh openssh-server" :