aboutsummaryrefslogtreecommitdiff
path: root/libraries/php-ssh2/doinst.sh
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2016-02-06 23:33:49 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-02-07 15:06:56 +0700
commitee09f3f1aab10133586ac9526c1a2f7097e2ab5f (patch)
tree1af96f803e5532237ce6ce1275a9407c21615e7f /libraries/php-ssh2/doinst.sh
parent4bbd289c7c30a1df0d640f16658dca7c0cc69f59 (diff)
libraries/php-ssh2: Fix php ini file location.
Also added missing pecl registration. Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'libraries/php-ssh2/doinst.sh')
-rw-r--r--libraries/php-ssh2/doinst.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/libraries/php-ssh2/doinst.sh b/libraries/php-ssh2/doinst.sh
index e5760e7218550..34e7d19b76213 100644
--- a/libraries/php-ssh2/doinst.sh
+++ b/libraries/php-ssh2/doinst.sh
@@ -11,5 +11,8 @@ config() {
# Otherwise, we leave the .new copy for the admin to consider...
}
-config etc/php/ssh2.ini.new
+config etc/php.d/ssh2.ini.new
+
+/usr/bin/pecl install --nodeps --soft --force --register-only --nobuild \
+ usr/libLIBDIRSUFFIX/php/.pkgxml/ssh2.xml > /dev/null