[Rt-commit] r6155 - in rtir/branches/2.0-TESTING: etc/upgrade
ruz at bestpractical.com
ruz at bestpractical.com
Wed Oct 4 04:03:47 EDT 2006
Author: ruz
Date: Wed Oct 4 04:03:47 2006
New Revision: 6155
Modified:
rtir/branches/2.0-TESTING/Makefile.PL
rtir/branches/2.0-TESTING/UPGRADING
rtir/branches/2.0-TESTING/etc/upgrade/upgrade.pl
Log:
* don't use hardcoded @ISA
Modified: rtir/branches/2.0-TESTING/Makefile.PL
==============================================================================
--- rtir/branches/2.0-TESTING/Makefile.PL (original)
+++ rtir/branches/2.0-TESTING/Makefile.PL Wed Oct 4 04:03:47 2006
@@ -28,7 +28,8 @@
substitute( {
RT_LIB_PATH => join( ' ', $local_lib_path, $lib_path ),
},
- 't/rtir-test.pl'
+ 't/rtir-test.pl',
+ 'etc/upgrade/upgrade.pl'
);
WriteAll();
Modified: rtir/branches/2.0-TESTING/UPGRADING
==============================================================================
--- rtir/branches/2.0-TESTING/UPGRADING (original)
+++ rtir/branches/2.0-TESTING/UPGRADING Wed Oct 4 04:03:47 2006
@@ -98,10 +98,6 @@
This script updates Due Dates on all incidents and set to the most
recent due date of the children.
-NOTE that script use hardcoded path '/opt/rt3', if your RT server installed
-into different location you should change it.
-
-
Upgrading from RTIR 1.1.2:
--------------------------
Modified: rtir/branches/2.0-TESTING/etc/upgrade/upgrade.pl
==============================================================================
--- rtir/branches/2.0-TESTING/etc/upgrade/upgrade.pl (original)
+++ rtir/branches/2.0-TESTING/etc/upgrade/upgrade.pl Wed Oct 4 04:03:47 2006
@@ -3,7 +3,8 @@
use warnings;
use strict;
-use lib ("/opt/rt3/lib", "/opt/rt3/local/lib");
+### after: use lib qw(@RT_LIB_PATH@);
+use lib qw(/opt/rt3/local/lib /opt/rt3/lib);
use RT::Interface::CLI qw(CleanEnv GetCurrentUser GetMessageContent loc);
use RT::Tickets;
More information about the Rt-commit
mailing list