File: libapache-mod-jk.prerm

package info (click to toggle)
libapache-mod-jk 1%3A1.2.5-2sarge1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 3,236 kB
  • ctags: 2,044
  • sloc: ansic: 15,607; sh: 6,746; perl: 2,136; xml: 387; makefile: 240
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