To prevent old versions of the OpenSRF and Evergreen Perl modules from
conflicting with the new versions of these modules (which are now
located in the default system Perl package directories), remove
references to them.
Also, O:W:AddedContent contains an old reference to a distro-specific
Perl directory that we can clean up at the same time.
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
#!/usr/bin/perl
-use lib qw( /openils/lib/perl5 );
use OpenILS::WWW::Exporter qw( /openils/conf/opensrf_core.xml );
use OpenILS::WWW::SuperCat qw( /openils/conf/opensrf_core.xml );
use OpenILS::WWW::AddedContent qw( /openils/conf/opensrf_core.xml );
use strict;
use warnings;
-use lib '/openils/lib/perl5/';
-
use OpenSRF::System;
use OpenSRF::EX qw/:try/;
use OpenSRF::AppSession;
use strict;
use warnings;
-use lib '/openils/lib/perl5/';
-
use OpenSRF::System;
use OpenSRF::EX qw/:try/;
use OpenSRF::AppSession;
#!/usr/bin/perl
use strict;
-use lib '/openils/lib/perl5/';
-
use OpenSRF::System;
use OpenSRF::EX qw/:try/;
use OpenSRF::Utils::SettingsClient;
package OpenILS::WWW::AddedContent;
use strict; use warnings;
-use lib qw(/usr/lib/perl5/Bundle/);
-
use CGI;
use Apache2::Log;
use Apache2::Const -compile => qw(OK REDIRECT DECLINED NOT_FOUND :log);