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