File tree Expand file tree Collapse file tree 1 file changed +2
-21
lines changed Expand file tree Collapse file tree 1 file changed +2
-21
lines changed Original file line number Diff line number Diff line change @@ -25,32 +25,13 @@ if [ -z ${MOODLE_HOST_NOPORT} ]; then
2525 fi
2626fi
2727
28- FREETDS_FILE=" /etc/freetds.conf" ;
29- FREETDS_VERSION=" 4.2" ;
30-
31- # Helpers
32-
33- mssql_freetds () {
34-
35- cat << EOT > ${FREETDS_FILE}
36- [global]
37- tds version = ${FREETDS_VERSION}
38- text size = 20971520
39- host = ${DB_HOST}
40- port = 1433
41- client charset = UTF-8
42- EOT
43-
44- }
45-
4628# Main Begins
4729
4830if [ $1 == " moodle" ]; then
4931
50- if [ ${DB_TYPE} == " mssql " ]; then
51- echo " The packages required for this require PHP 7, hence MSSQL is not currently supported " ;
32+ if [ ${DB_TYPE} == " oci " ]; then
33+ echo " Oracle database is not currently supported due to licensing issues with their client " ;
5234 exit 1
53- # mssql_freetds;
5435 fi
5536 sed -e " s/pgsql/${DB_TYPE} /
5637 s/username/${DB_USER} /
You can’t perform that action at this time.
0 commit comments