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;