File: perdition-postgresql.postinst

package info (click to toggle)
perdition 1.19~rc4-2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 3,328 kB
  • ctags: 1,365
  • sloc: ansic: 14,066; sh: 11,285; makefile: 440; perl: 132
file content (18 lines) | stat: -rw-r--r-- 268 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#! /bin/sh
# postinst script for perdition-ldap

#DEBHELPER#

set -e

if [ "$1" = "configure" ]; then
	if [ -f /etc/init.d/perdition ]; then
		invoke-rc.d perdition stop
	fi
	ldconfig
	if [ -f /etc/init.d/perdition ]; then
		invoke-rc.d perdition start
	fi
fi

exit 0