@@ -115,7 +115,8 @@ BEGIN
115
115
checkModule(" POE" , 1.005 );
116
116
checkModule(" POE::Component::IKC::Server" , 0.2001 );
117
117
checkModule(" POE::Component::Client::HTTP" , 0.88 );
118
- checkModule(" Apache2::Request" , 2.08 );
118
+ # In plebgui the mod_perl modules are optional
119
+ checkModule(" Apache2::Request" , 2.08, 2 );
119
120
checkModule(" URI::Escape" , " 3.29" );
120
121
checkModule(" POSIX" );
121
122
checkModule(" List::Util" );
@@ -162,6 +163,8 @@ BEGIN
162
163
checkModule(' Data::ICal' , ' 0.16' );
163
164
checkModule(' common::sense' , ' 3.2' );
164
165
checkModule(' Geo::Coder::Googlev3' , ' 0.07' );
166
+ # Plack is required for plebgui
167
+ checkModule(' Plack' );
165
168
166
169
failAndExit(" Required modules are missing, running no more checks." ) if $missingModule ;
167
170
@@ -412,9 +415,9 @@ sub isIn {
412
415
# ----------------------------------------
413
416
sub isRootRequirementMet {
414
417
if (getOs() eq " Linuxish" ) {
415
- return ($< == 0);
418
+ return ($< == 0);
416
419
} else {
417
- return 1;
420
+ return 1;
418
421
}
419
422
}
420
423
0 commit comments