~ubuntu-branches/ubuntu/jaunty/moodle/jaunty

« back to all changes in this revision

Viewing changes to debian/patches/index_check.dpatch

  • Committer: Bazaar Package Importer
  • Author(s): Jordan Mantha, Matt Oquist
  • Date: 2009-02-25 15:16:22 UTC
  • mfrom: (1.1.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20090225151622-0ekt1liwhv2obfza
Tags: 1.9.4.dfsg-0ubuntu1
* Merge with Debian git (Closes LP: #322961, #239481, #334611):
  - use Ubuntu's smarty lib directory for linking
  - use internal yui library 
  - add update-notifier support back in

[Matt Oquist]
  * renamed prerm script
  * significantly rewrote postinst and other maintainer scripts to improve
    user experience and package maintainability
    (Closes LP: #225662, #325450, #327843, #303078, #234609)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh /usr/share/dpatch/dpatch-run
 
2
## index_check.dpatch by Jordan Mantha <laserjock@ubuntu.com>
 
3
##
 
4
## All lines beginning with `## DP:' are a description of the patch.
 
5
## DP: Disable the built-in installer since we are using debconf
 
6
 
 
7
@DPATCH@
 
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
 
11
@@ -1,7 +1,7 @@
 
12
 <?php // $Id: index.php,v 1.286.2.30 2009/01/23 02:10:11 tjhunt Exp $
 
13
 
 
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');
 
19
         die;
 
20
     }