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>



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to