|
Revision 81, 0.5 kB
(checked in by Mircea Amarascu <mircea@ag-projects.com>, 15 months ago)
|
|
Added openxcap.postinst.
|
| Line | |
|---|
| 1 | #!/bin/sh |
|---|
| 2 | set -e |
|---|
| 3 | # Automatically added by dh_pycentral |
|---|
| 4 | if which pycentral >/dev/null 2>&1; then |
|---|
| 5 | pycentral pkginstall openxcap |
|---|
| 6 | fi |
|---|
| 7 | # End automatically added section |
|---|
| 8 | # Automatically added by dh_installinit |
|---|
| 9 | if [ -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 |
|---|
| 16 | fi |
|---|
| 17 | # End automatically added section |
|---|