File: perdition-odbc.postinst

package info (click to toggle)
perdition 2.2-3.1
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 3,628 kB
  • sloc: ansic: 14,571; sh: 5,274; makefile: 443
file content (17 lines) | stat: -rw-r--r-- 258 bytes parent folder | download | duplicates (8)
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
	fi
	if [ -f /etc/init.d/perdition ]; then
		invoke-rc.d perdition start
	fi
fi

exit 0