Your message dated Sun, 22 Aug 2010 22:12:19 +0100
with message-id <[email protected]>
and subject line Fixed in 1.9.9.dfsg-1
has caused the Debian Bug report #593723,
regarding Moodle pgsql db type is wrong for their adodb version
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
593723: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=593723
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: moodle
Version: 1.9.9.dfsg-1
Severity: normal

Moodle pgsql db type is wrong for their adodb version, should be postgres7.

Fixed by this change to the preinst

        if [ "${dbc_dbtype}" = "pgsql" ];then
                moodle_dbtype="postgres7"
        else
                moodle_dbtype=${dbc_dbtype}
        fi

        cat > $tempfile <<EOF
<?php
 # This file has been generated by debconf
 # You can find a commented config file in /usr/share/doc/moodle/

 unset(\$CFG);
 \$CFG = new stdClass();

 \$CFG->dbtype = '${moodle_dbtype}';

--
Giles Westwood, Systems Administrator,
Semantico, Floor 1, 21-23 Dyke Road, Brighton BN1 3FE
<http://www.semantico.com/>
<mailto:[email protected]>
<tel:+44-1273-358231> <fax:+44-1273-723232>



--- End Message ---
--- Begin Message ---
Version: 1.9.9.dfsg-1

This should be already fixed in 1.9.9.dfsg-1 - by applying Giles logic.

cheer,
Tomek


--- End Message ---

Reply via email to