File: libapache-mod-jk.postinst

package info (click to toggle)
libapache-mod-jk 1%3A1.2.26-2%2Blenny1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 7,768 kB
  • ctags: 4,127
  • sloc: ansic: 49,590; xml: 11,098; sh: 9,213; java: 1,920; perl: 1,004; makefile: 282; awk: 59
file content (28 lines) | stat: -rw-r--r-- 431 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
27
28
#!/bin/sh -e

#DEBHELPER#

case "$1" in
    configure)

	# Only activate mod_jk if this is not an upgrade
	if [ -z "$2" ]; then
	    for i in apache apache-perl apache-ssl; do
		if [ -r /etc/$i/modules.conf ]; then
			/usr/sbin/modules-config $i enable mod_jk
		fi
	    done
	fi
    ;;

    abort-upgrade|abort-remove|abort-deconfigure)
    ;;

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

exit 0