~ubuntu-branches/ubuntu/edgy/sope/edgy

« back to all changes in this revision

Viewing changes to debian/libapache-mod-ngobjweb.prerm

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Ley
  • Date: 2005-08-19 16:53:31 UTC
  • Revision ID: james.westby@ubuntu.com-20050819165331-hs683wz1osm708pw
Tags: upstream-4.4rc.2
ImportĀ upstreamĀ versionĀ 4.4rc.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/bash
 
2
 
 
3
set -e
 
4
 
 
5
for i in apache apache-perl apache-ssl; do
 
6
    if [ -e /etc/$i/httpd.conf ]; then
 
7
        modules-config $i disable mod_ngobjweb quiet
 
8
    fi
 
9
    if [ -x /usr/sbin/invoke-rc.d ] && [ -x /etc/init.d/$i ]; then
 
10
        invoke-rc.d $i force-reload || true
 
11
    elif [ -x /etc/init.d/$i ]; then
 
12
        /etc/init.d/$i force-reload || true
 
13
    fi
 
14
done
 
15
 
 
16
#DEBHELPER#