summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--development/php-pinba/doinst.sh2
-rw-r--r--development/php-pinba/php-pinba.SlackBuild8
2 files changed, 5 insertions, 5 deletions
diff --git a/development/php-pinba/doinst.sh b/development/php-pinba/doinst.sh
index c48bdfd29e..9760b6c15e 100644
--- a/development/php-pinba/doinst.sh
+++ b/development/php-pinba/doinst.sh
@@ -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
diff --git a/development/php-pinba/php-pinba.SlackBuild b/development/php-pinba/php-pinba.SlackBuild
index 1203b68a6b..4ab3504621 100644
--- a/development/php-pinba/php-pinba.SlackBuild
+++ b/development/php-pinba/php-pinba.SlackBuild
@@ -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