File: perdition-postgresql.postinst

package info (click to toggle)
perdition 1.17-7
  • links: PTS
  • area: main
  • in suites: etch-m68k
  • size: 3,136 kB
  • ctags: 1,062
  • sloc: ansic: 10,877; sh: 8,769; makefile: 462; perl: 132
file content (16 lines) | stat: -rw-r--r-- 260 bytes parent folder | download | duplicates (16)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#! /bin/sh
# postinst script for perdition-ldap

#DEBHELPER#

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