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