summaryrefslogtreecommitdiffstats
path: root/tools/templates/pkg-install.in
diff options
context:
space:
mode:
Diffstat (limited to 'tools/templates/pkg-install.in')
-rw-r--r--tools/templates/pkg-install.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/templates/pkg-install.in b/tools/templates/pkg-install.in
new file mode 100644
index 0000000..d9217e6
--- /dev/null
+++ b/tools/templates/pkg-install.in
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+if [ "${2}" != "POST-INSTALL" ]; then
+ exit 0
+fi
+
+/usr/local/sbin/fcgicli -f /etc/rc.packages -d "pkg=%%PORTNAME%%&when=${2}"
OpenPOWER on IntegriCloud