File: perdition-postgresql.postinst

package info (click to toggle)
perdition 2.2-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,676 kB
  • sloc: ansic: 14,560; sh: 5,274; makefile: 391
file content (17 lines) | stat: -rw-r--r-- 266 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#! /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 || true
	fi
	if [ -f /etc/init.d/perdition ]; then
		invoke-rc.d perdition start
	fi
fi

exit 0