File: perdition-postgresql.prerm

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 (17 lines) | stat: -rw-r--r-- 266 bytes parent folder | download | duplicates (20)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#! /bin/sh
# prerm script for perdition

#DEBHELPER#

set -e

if [ "$1" = "purge"  -o "$1" = "remove" ]; 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