File: libapache-mod-auth-mysql.postinst

package info (click to toggle)
libapache-mod-auth-mysql 4.3.9-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 476 kB
  • ctags: 113
  • sloc: ansic: 1,270; makefile: 72; sh: 26
file content (17 lines) | stat: -rw-r--r-- 459 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

if [ "$1" = "configure" ]; then
	if [ -x /usr/sbin/modules-config ]; then
		if [ -f /etc/apache/apache/modules.conf ]; then
			/usr/sbin/modules-config apache enable mod_auth_mysql
		fi
		if [ -f /etc/apache/apache-perl/modules.conf ]; then
			/usr/sbin/modules-config apache-perl enable mod_auth_mysql
		fi
		if [ -f /etc/apache/apache-ssl/modules.conf ]; then
			/usr/sbin/modules-config apache-ssl enable mod_auth_mysql
		fi
	fi
fi

#DEBHELPER#