diff options
Diffstat (limited to 'modulemanager')
-rwxr-xr-x | modulemanager | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modulemanager b/modulemanager index 2681e8326..9f9c03344 100755 --- a/modulemanager +++ b/modulemanager @@ -26,10 +26,10 @@ use warnings FATAL => qw(all); use make::common; BEGIN { - unless (module_installed("LWP::Simple")) { + unless (eval "use LWP::Simple; 1") { die "Your system is missing the LWP::Simple Perl module!"; } - unless (module_installed("Crypt::SSLeay") || module_installed("IO::Socket::SSL")) { + unless (eval "use Crypt::SSLeay; 1" || eval "use IO::Socket::SSL; 1") { die "Your system is missing the Crypt::SSLeay or IO::Socket::SSL Perl modules!"; } |