1
#! /bin/sh /usr/share/dpatch/dpatch-run
2
## index_check.dpatch by Jordan Mantha <laserjock@ubuntu.com>
4
## All lines beginning with `## DP:' are a description of the patch.
5
## DP: Disable the built-in installer since we are using debconf
8
diff -urNad moodle~/admin/index.php moodle/admin/index.php
9
--- moodle~/admin/index.php 2009-02-21 20:46:19.000000000 -0800
10
+++ moodle/admin/index.php 2009-02-21 21:10:23.000000000 -0800
12
<?php // $Id: index.php,v 1.286.2.30 2009/01/23 02:10:11 tjhunt Exp $
14
-/// Check that config.php exists, if not then call the install script
15
- if (!file_exists('../config.php')) {
16
+/// Check that index.php exists, if not then call the install script
17
+ if (!file_exists('../index.php')) {
18
header('Location: ../install.php');