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

« back to all changes in this revision

Viewing changes to debian/libapache2-mod-python2.3.config

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2006-07-07 13:18:35 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060707131835-zfp1vupanjj2e77y
Tags: 3.2.8-1ubuntu1
* Merge to Debian unstable.
* Remaining Ubuntu change: debian/{control,rules}: Drop python 2.3 package.

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