[Rt-commit] [rtir] 01/02: Bump version of Module::Install::RTx
Kevin Falcone
falcone at bestpractical.com
Tue Mar 25 12:49:49 EDT 2014
This is an automated email from the git hooks/post-receive script.
falcone pushed a commit to branch 3.0.1-releng
in repository rtir.
commit 489719e78a2b8b5a45a2d55a3aa818214284c93a
Author: Kevin Falcone <falcone at bestpractical.com>
Date: Tue Mar 25 11:32:36 2014 -0400
Bump version of Module::Install::RTx
---
inc/Module/Install/RTx.pm | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/inc/Module/Install/RTx.pm b/inc/Module/Install/RTx.pm
index b2c1e0c..00cf565 100644
--- a/inc/Module/Install/RTx.pm
+++ b/inc/Module/Install/RTx.pm
@@ -8,7 +8,7 @@ no warnings 'once';
use Module::Install::Base;
use base 'Module::Install::Base';
-our $VERSION = '0.32_01';
+our $VERSION = '0.33';
use FindBin;
use File::Glob ();
@@ -136,7 +136,9 @@ install ::
$has_etc{acl}++;
}
if ( -e 'etc/initialdata' ) { $has_etc{initialdata}++; }
- if ( -d 'etc/upgrade/' ) { $has_etc{upgrade}++; }
+ if ( grep { /\d+\.\d+\.\d+.*$/ } glob('etc/upgrade/*.*.*') ) {
+ $has_etc{upgrade}++;
+ }
$self->postamble("$postamble\n");
unless ( $subdirs{'lib'} ) {
@@ -191,7 +193,7 @@ sub requires_rt {
sub rt_too_new {
my ($self,$version,$msg) = @_;
- $msg ||= "Your version %s is too new, this extension requires a release of RT older than %s";
+ $msg ||= "Your version %s is too new, this extension requires a release of RT older than %s\n";
_load_rt_handle();
my @sorted = sort RT::Handle::cmp_version $version,$RT::VERSION;
@@ -220,4 +222,4 @@ sub _load_rt_handle {
__END__
-#line 360
+#line 362
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the rt-commit
mailing list