[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[4480] branches/1.3



Revision: 4480
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=4480&view=rev
Author:   einhverfr
Date:     2012-03-16 05:23:27 +0000 (Fri, 16 Mar 2012)
Log Message:
-----------
Clarified error message when contrib scripts not found

Modified Paths:
--------------
    branches/1.3/Changelog
    branches/1.3/scripts/setup.pl

Modified: branches/1.3/Changelog
===================================================================
--- branches/1.3/Changelog	2012-03-16 02:21:11 UTC (rev 4479)
+++ branches/1.3/Changelog	2012-03-16 05:23:27 UTC (rev 4480)
@@ -11,6 +11,7 @@
 * Fixed some menu items disappearing after upgrade (Chris T, bug 3504934)
 * Added default to country for initial setup (Chris T, bug 3496967)
 * Added recon data to COA files for a few extra locales (Chris T bug 3505102)
+* Clarified error message when contrib scripts not found (Chris T)
 
 Andres B is Andres Basile
 

Modified: branches/1.3/scripts/setup.pl
===================================================================
--- branches/1.3/scripts/setup.pl	2012-03-16 02:21:11 UTC (rev 4479)
+++ branches/1.3/scripts/setup.pl	2012-03-16 05:23:27 UTC (rev 4480)
@@ -64,6 +64,9 @@
             $request->error($request->{_locale}->text(
                       'Cannot find Contrib script [_1] in [_2].',
                       "tablefunc.control", $ENV{PG_CONTRIB_DIR}
+            ) . "\n" . 
+            $request->{_locale}->text(
+                 'Please point your contrib_dir directive in your ledgersmb.conf to the appropriate location'
             ));
        }
     } else {
@@ -71,6 +74,9 @@
             $request->error($request->{_locale}->text(
                       'Cannot find Contrib script [_1] in [_2].',
                       "tablefunc.sql", $ENV{PG_CONTRIB_DIR}
+            ) . "\n" . 
+            $request->{_locale}->text(
+                 'Please point your contrib_dir directive in your ledgersmb.conf to the appropriate location'
             ));
       
        }

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.