mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 16:50:24 +00:00
DHCPd package is named dhcp-server on RHEL 9 https://github.com/webmin/webmin/issues/2066
This commit is contained in:
@@ -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" :
|
||||
|
||||
Reference in New Issue
Block a user