File: libapache-mod-jk.prerm

package info (click to toggle)
libapache-mod-jk 1%3A1.2.30-1squeeze1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 9,544 kB
  • ctags: 4,943
  • sloc: ansic: 53,961; xml: 12,930; sh: 9,363; java: 1,921; perl: 1,004; makefile: 275; awk: 59
file content (26 lines) | stat: -rw-r--r-- 412 bytes parent folder | download | duplicates (6)
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 -e

#DEBHELPER#

case "$1" in
    upgrade|failed-upgrade)
		# Nothing to do here
    ;;

    deconfigure|remove)
	# Disable mod_jk if this is not an upgrade
	for i in apache apache-perl apache-ssl; do
	    if [ -r /etc/$i/modules.conf ]; then
		/usr/sbin/modules-config $i disable mod_jk quiet
	    fi
	done
    ;;

    *)
	echo "$0 called with unknown argument \`$1'" >&2
	exit 1
    ;;
esac

exit 0