mirror of
https://github.com/webmin/webmin.git
synced 2025-07-21 23:40:34 +00:00
Handle perl-LDAP package
This commit is contained in:
@ -339,6 +339,10 @@ foreach my $a (@avail) {
|
||||
$a->{'name'} =~ /^perl-(\S+)$/) { # Redhat
|
||||
local $mod = $1;
|
||||
$mod =~ s/-/::/g;
|
||||
if ($mod eq "LDAP") {
|
||||
# Special case for redhat-ish systems
|
||||
$mod = "Net::LDAP";
|
||||
}
|
||||
push(@rv, { 'mod' => $mod,
|
||||
'package' => $a->{'name'},
|
||||
'version' => $a->{'version'}, });
|
||||
|
Reference in New Issue
Block a user