File: libapache-mod-auth-kerb.prerm

package info (click to toggle)
libapache-mod-auth-kerb 5.3-5
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 544 kB
  • ctags: 336
  • sloc: ansic: 3,093; makefile: 98; sh: 36
file content (26 lines) | stat: -rw-r--r-- 365 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/sh

set -e

killconf() {
	for i in apache apache-ssl apache-perl; do
		if [ -e /etc/$i/httpd.conf ]; then
			modules-config $i disable mod_auth_kerb quiet
		fi
	done
}

case "$1" in
  remove)
	killconf
	;;
  upgrade | deconfigure | failed-upgrade)
	:
	;;
  *) echo "$0: didn't understand being called with \`$1'" 1>&2
     exit 1;;
esac

#DEBHELPER#

exit 0