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

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Debian Python Modules Team, Sandro Tosi
  • Date: 2010-03-27 14:41:02 UTC
  • mfrom: (5.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20100327144102-s625b2uxl19ep4dw
Tags: 3.3.1-9
[ Sandro Tosi ]
* debian/libapache2-mod-python.{prerm, postrm}
  - move a2dismod from postrm (executed too late in the purge process) to
    prerm, so purge can disable the module when it's still available; thanks
    to Lucas Nussbaum for the report; Closes: #574229
* debian/control
  - bump Standards-Version to 3.8.4 (no changes needed)
  - updated Section to 'httpd' to match override file

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
set -e
 
4
 
 
5
if [ "$1" = remove ] || [ "$1" = purge ]; then
 
6
        if [ -e /etc/apache2/apache2.conf ] && [ -x /usr/sbin/a2dismod ]; then
 
7
                a2dismod python || true
 
8
        fi
 
9
fi
 
10
 
 
11
#DEBHELPER#
 
12
 
 
13
exit 0