~ubuntu-branches/ubuntu/jaunty/drupal6/jaunty

« back to all changes in this revision

Viewing changes to debian/drupal6.config

  • Committer: Bazaar Package Importer
  • Author(s): Luigi Gangitano, Luigi Gangitano
  • Date: 2008-10-24 23:06:15 UTC
  • Revision ID: james.westby@ubuntu.com-20081024230615-qjvm6apu7wl48kb0
Tags: 6.6-1
[ Luigi Gangitano ]  
* Urgency high due to security fixes

* New upstream release
  - Fixes two security vulnerabilities
    (Ref: SA-2008-067, CVE-TBA) (Closes: #503222)

* debian/drual6.postrm
  - Fixed missing -e option to make lintian happy

* debian/patches/10_cronjob.dpatch
  - Added patch descritpion to make lintian happy

* debian/control
  - Bumped Standard-Version to 3.8.0, no change needed

* debian/{control,rules,links}
  - Added dependency on libjs-jquery and use jquery.js from it

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/bash
 
2
 
 
3
# Debconf config script for Drupal
 
4
 
 
5
set -e
 
6
 
 
7
 
 
8
# Source debconf library
 
9
. /usr/share/debconf/confmodule
 
10
 
 
11
if [ -f /usr/share/dbconfig-common/dpkg/config ]; then
 
12
        # we support mysql and pgsql
 
13
        dbc_dbtypes="mysql, pgsql"
 
14
        dbc_dbname=drupal6
 
15
        dbc_dbuser=drupal6
 
16
 
 
17
        # source dbconfig-common stuff
 
18
        . /usr/share/dbconfig-common/dpkg/config
 
19
        dbc_go drupal6 $@
 
20
fi
 
21
 
 
22
if [ "$DPKG_DEBUG" = "developer" ]; then
 
23
    set -x
 
24
fi
 
25
 
 
26
##################################################
 
27
# Begin installation directories definition block#
 
28
##################################################
 
29
package_name="drupal6"
 
30
datadir="/var/lib/${package_name}"
 
31
backupdir="${datadir}/backups/"
 
32
docdir="/usr/share/doc/${package_name}"
 
33
upgradesdir="${docdir}/upgrades"
 
34
configdir="/etc/drupal/6"
 
35
configfile="${configdir}/conf.php"
 
36
includefile="${configdir}/apache.conf"
 
37
################################################
 
38
# End installation directories definition block #
 
39
################################################
 
40
 
 
41
########################################################################
 
42
# The actual configuration
 
43
 
 
44
OLDVERSION="$2"
 
45
 
 
46
db_stop
 
47
 
 
48
exit 0