File: perdition.postinst

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

#DEBHELPER#

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

exit 0