root/debian/openxcap.postinst

Revision 81, 0.5 kB (checked in by Mircea Amarascu <mircea@ag-projects.com>, 15 months ago)

Added openxcap.postinst.

Line 
1#!/bin/sh
2set -e
3# Automatically added by dh_pycentral
4if which pycentral >/dev/null 2>&1; then
5        pycentral pkginstall openxcap
6fi
7# End automatically added section
8# Automatically added by dh_installinit
9if [ -x "/etc/init.d/openxcap" ]; then
10        update-rc.d openxcap defaults >/dev/null
11        if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
12                invoke-rc.d openxcap start || exit $?
13        else
14                /etc/init.d/openxcap start || exit $?
15        fi
16fi
17# End automatically added section
Note: See TracBrowser for help on using the browser.