~ubuntu-branches/ubuntu/maverick/libapache2-mod-python/maverick

« back to all changes in this revision

Viewing changes to debian/libapache2-mod-python.config

  • Committer: Bazaar Package Importer
  • Author(s): Piotr Ozarowski
  • Date: 2007-02-21 18:24:29 UTC
  • mfrom: (1.1.8 feisty)
  • Revision ID: james.westby@ubuntu.com-20070221182429-9okop7e0qpi24l85
Tags: 3.2.10-4
* Added XS-Vcs-Svn field
* Removed "db_purge" part from libapache2-mod-python.postrm
  (dh_installdebconf is generating a rule that will not fail if debconf is
  already removed)
* Added initial Spanish debconf translation from Manuel Porras Peralta.
  (closes: #411235)
* Added initial Portuguese debconf translation from Pedro Ribeiro.
  (closes: #411742)
* Added initial Galician debconf translation from Jacobo Tarrio.
  (closes: #411831)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh -e
 
2
 
 
3
# Source debconf library
 
4
. /usr/share/debconf/confmodule
 
5
 
 
6
if [ -e /etc/apache2/mods-enabled/mod_python.load ]; then
 
7
    db_set libapache2-mod-python/enable_module true
 
8
else
 
9
    # We want to enable the module by default during initial configuration
 
10
    if [ "$1" = "configure" ] ; then
 
11
        db_set libapache2-mod-python/enable_module true
 
12
    else
 
13
        db_set libapache2-mod-python/enable_module false
 
14
    fi
 
15
fi
 
16
 
 
17
# Enable the Apache 2 module?
 
18
db_input medium libapache2-mod-python/enable_module || true
 
19
db_go