Skip Menu |

This queue is for tickets about the Module-Install-RTx CPAN distribution.

Report information
The Basics
Id: 27332
Status: open
Priority: 0/
Queue: Module-Install-RTx

People
Owner: Nobody in particular
Requestors: ROSCH [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: (no value)
Fixed in: (no value)



Subject: find RT.pm in Debian installation dir
Hi. This lets the module find RT.pm in the place Debian puts it. --- inc/Module/Install/RTx.pm.~1~ 2006-06-01 12:39:44.000000000 - 0400 +++ inc/Module/Install/RTx.pm 2007-05-29 13:36:57.000000000 -0400 @@ -23,7 +23,8 @@ $self->version_from (-e "$name.pm" ? "$name.pm" : "lib/$RTx/ $fname.pm") unless $self->version; - my @prefixes = (qw(/opt /usr/local /home /usr /sw )); + my @prefixes = (qw(/opt /usr/local /home /usr /sw), + glob "/usr/share/request-tracker*"); my $prefix = $ENV{PREFIX}; @ARGV = grep { /PREFIX=(.*)/ ? (($prefix = $1), 0) : 1 } @ARGV;
Something similar has been applied, so this can probably be closed.