mirror of
https://github.com/webmin/webmin.git
synced 2025-08-12 02:18:16 +00:00
Allow specification of perl modules with a /
This commit is contained in:
@ -67,6 +67,7 @@ elsif ($in{'source'} == 3) {
|
|||||||
$in{'cpan'} || &error($text{'download_emodname'});
|
$in{'cpan'} || &error($text{'download_emodname'});
|
||||||
$in{'cpan'} =~ s/^\s+//;
|
$in{'cpan'} =~ s/^\s+//;
|
||||||
$in{'cpan'} =~ s/\s+$//;
|
$in{'cpan'} =~ s/\s+$//;
|
||||||
|
$in{'cpan'} =~ s/\/+/::/g;
|
||||||
@cpan = split(/\s+|\0/, $in{'cpan'});
|
@cpan = split(/\s+|\0/, $in{'cpan'});
|
||||||
|
|
||||||
# First check if YUM or APT can install this module for us
|
# First check if YUM or APT can install this module for us
|
||||||
|
Reference in New Issue
Block a user