mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
development/php-pinba: Fix php ini file location.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
This commit is contained in:
parent
47a5b49203
commit
fa74c291e4
2 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue