~mafix/mod-ldap-cfg/main

« back to all changes in this revision

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

  • Committer: felix
  • Date: 2009-02-23 23:32:28 UTC
  • Revision ID: felix@fixflop-20090223233228-u1p1mmz2qn7yqy55
initial import from http://modldapcfg.bayour.com/ version 1.0.7

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/bash
 
2
set -e
 
3
 
 
4
#DEBHELPER#
 
5
 
 
6
case "$1" in
 
7
    upgrade|failed-upgrade)
 
8
    ;;
 
9
 
 
10
    deconfigure|remove)
 
11
        for i in apache apache-perl apache-ssl; do
 
12
            if [ -r /etc/$i/modules.conf ]; then
 
13
                /usr/sbin/apache-modconf $i disable mod_ldap_cfg quiet
 
14
            fi
 
15
        done
 
16
    ;;
 
17
 
 
18
    *)
 
19
        echo "$0: didn't understand being called with \`$1'" 1>&2
 
20
        exit 1
 
21
    ;;
 
22
esac
 
23
 
 
24
exit 0
 
25