Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
20839014
Commit
20839014
authored
Oct 26, 2010
by
Max Kanat-Alexander
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 607083: Improve the error message that install-module.pl prints when
you specify an invalid CPAN module. r=mkanat, a=mkanat (module owner)
parent
8073ec46
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
CPAN.pm
Bugzilla/Install/CPAN.pm
+3
-0
strings.txt.pl
template/en/default/setup/strings.txt.pl
+1
-0
No files found.
Bugzilla/Install/CPAN.pm
View file @
20839014
...
...
@@ -147,6 +147,9 @@ sub install_module {
}
my
$module
=
CPAN::
Shell
->
expand
(
'Module'
,
$name
);
if
(
!
$module
)
{
die
install_string
(
'no_such_module'
,
{
module
=>
$name
})
.
"\n"
;
}
print
install_string
(
'install_module'
,
{
module
=>
$name
,
version
=>
$module
->
cpan_version
})
.
"\n"
;
if
(
$test
)
{
...
...
template/en/default/setup/strings.txt.pl
View file @
20839014
...
...
@@ -311,6 +311,7 @@ EOT
module_not_found
=>
"not found"
,
module_ok
=>
'ok'
,
module_unknown_version
=>
"found unknown version"
,
no_such_module
=>
"There is no Perl module on CPAN named ##module##."
,
mysql_innodb_disabled
=>
<<
'END'
,
InnoDB
is
disabled
in
your
MySQL
installation
.
Bugzilla
requires
InnoDB
to
be
enabled
.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment