[Rt-commit] r6145 - rtir/branches/2.0-TESTING/etc/upgrade/1.9.0

ruz at bestpractical.com ruz at bestpractical.com
Tue Oct 3 18:14:24 EDT 2006


Author: ruz
Date: Tue Oct  3 18:14:23 2006
New Revision: 6145

Modified:
   rtir/branches/2.0-TESTING/etc/upgrade/1.9.0/content

Log:
* add check for RTFM to upgrade script

Modified: rtir/branches/2.0-TESTING/etc/upgrade/1.9.0/content
==============================================================================
--- rtir/branches/2.0-TESTING/etc/upgrade/1.9.0/content	(original)
+++ rtir/branches/2.0-TESTING/etc/upgrade/1.9.0/content	Tue Oct  3 18:14:23 2006
@@ -1,3 +1,10 @@
+ at Initial = ( sub {
+    eval { require RT::FM; };
+    if ($@) {
+        die "RTIR is built on top of RTFM; please install RTFM before continuing.\n";
+    }
+} );
+
 @CustomFields = (
     {
         Name        => '_RTIR_Resolution',


More information about the Rt-commit mailing list