File: prerm

package info (click to toggle)
libapache2-mod-auth-pgsql 2.0.2b1-5sarge0
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 128 kB
  • ctags: 102
  • sloc: ansic: 869; makefile: 46; sh: 7
file content (13 lines) | stat: -rw-r--r-- 202 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

set -e

if [ "$1" = "remove" -o "$1" = "purge" ]; then
	if [ -e /etc/apache2/apache2.conf -a -x /usr/sbin/a2dismod ]; then
		/usr/sbin/a2dismod auth_pgsql || true
	fi
fi

#DEBHELPER#

exit 0