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

« back to all changes in this revision

Viewing changes to debian/libapache2-mod-ngobjweb.postinst

  • 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
if [ -e /etc/apache2/httpd.conf ]; then
 
6
        a2enmod ngobjweb
 
7
fi
 
8
if [ -x /usr/sbin/invoke-rc.d ] && [ -x /etc/init.d/apache2 ]; then
 
9
        invoke-rc.d apache2 force-reload || true
 
10
elif [ -x /etc/init.d/apache2 ]; then
 
11
        /etc/init.d/apache2 force-reload || true
 
12
fi
 
13
 
 
14
#DEBHELPER#