development/php-pinba: Fix php ini file location.

Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
This commit is contained in:
Heinz Wiesinger 2016-02-06 22:43:36 +01:00 committed by Willy Sudiarto Raharjo
parent 47a5b49203
commit fa74c291e4
2 changed files with 5 additions and 5 deletions

View file

@ -11,5 +11,5 @@ config() {
# Otherwise, we leave the .new copy for the admin to consider...
}
config etc/php/pinba.ini.new
config etc/php.d/pinba.ini.new

View file

@ -2,7 +2,7 @@
# Slackware build script for php-pinba
# Copyright 2012 Heinz Wiesinger, Amsterdam, The Netherlands
# Copyright 2012-2016 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -25,7 +25,7 @@
PRGNAM=php-pinba
SRCNAM=pinba_extension
VERSION=1.0.0
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -94,8 +94,8 @@ mkdir -p $EXTENSION_DIR
make install DESTDIR=$PKG EXTENSION_DIR=$EXTENSION_DIR
mkdir -p $PKG/etc/php
install -m 644 $CWD/pinba.ini $PKG/etc/php/pinba.ini.new
mkdir -p $PKG/etc/php.d
install -m 644 $CWD/pinba.ini $PKG/etc/php.d/pinba.ini.new
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true