projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Versionen im installcheck anzeigen.
[kivitendo-erp.git]
/
SL
/
InstallationCheck.pm
diff --git
a/SL/InstallationCheck.pm
b/SL/InstallationCheck.pm
index
e867076
..
0d1ab8b
100644
(file)
--- a/
SL/InstallationCheck.pm
+++ b/
SL/InstallationCheck.pm
@@
-51,7
+51,13
@@
sub module_available {
my $module = $_[0];
my $version = $_[1] || '' ;
- return eval "use $module $version; 1";
+ my $got = eval "use $module $version; 1";
+
+ if ($got) {
+ return ($got, $module->VERSION);
+ } else {
+ return
+ }
}
sub check_kpsewhich {