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

« back to all changes in this revision

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

  • 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
 
2
 
 
3
PY_VERSION=2.3
 
4
 
 
5
if [ "$1" = "remove" -o "$1" = "purge" ]; then
 
6
    if [ -L /etc/apache2/mods-enabled/mod_python.load ]; then
 
7
        rm -f /etc/apache2/mods-enabled/mod_python.load
 
8
    fi
 
9
fi
 
10
 
 
11
if [ "$1" = "purge" ]; then
 
12
    # Source debconf library
 
13
    . /usr/share/debconf/confmodule
 
14
    # Remove debconf database entries
 
15
    db_purge
 
16
fi
 
17
 
 
18
#DEBHELPER#
 
19
 
 
20
exit 0