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