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

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



Revision: 4231
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=4231&view=rev
Author:   einhverfr
Date:     2011-12-18 23:41:21 +0000 (Sun, 18 Dec 2011)
Log Message:
-----------
Fixing 9.1 detection

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

Modified: branches/1.3/Changelog
===================================================================
--- branches/1.3/Changelog	2011-12-18 20:02:31 UTC (rev 4230)
+++ branches/1.3/Changelog	2011-12-18 23:41:21 UTC (rev 4231)
@@ -10,6 +10,8 @@
 * Better error handling contrib modules not found (Chris T)
 * pos.conf.pl no longer overwritten on upgrade (Chris T)
 * Fixed multi-currency single payment handling (Erik H / Chris T)
+* Fixed "New Window" not working (Erik H)
+* Fixed Pg 9.1 detection in setup.pl (Chris T and Pongracz I)
 
 Changelog for 1.3.9
 * More logging enhancements (Herman V)

Modified: branches/1.3/scripts/setup.pl
===================================================================
--- branches/1.3/scripts/setup.pl	2011-12-18 20:02:31 UTC (rev 4230)
+++ branches/1.3/scripts/setup.pl	2011-12-18 23:41:21 UTC (rev 4231)
@@ -58,7 +58,7 @@
                 password => $creds->{password}}
     );
     my $server_info = $database->server_version;
-    my @sv_info = split '.', $server_info;
+    my @sv_info = split(/\./, $server_info);
     if (($sv_info[0] > 9)or ($sv_info[0]  == 9 and $sv_info[1] >= 1)){
        if (! -f "$ENV{PG_CONTRIB_DIR}/tablefunc.control"){
             $request->error($request->{_locale}->text(

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