aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2016-02-06 22:51:05 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-02-07 15:06:56 +0700
commita19d95c0107fab42b7de3f1a3f00f3577f0ab2df (patch)
treea4a36e3b605ccfd5ec744760aa28d061d4b639f7 /graphics
parent57b6030f26f4ad48e85dcd1f8588d79019c15fdd (diff)
graphics/graphviz: Fix php ini file location.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/graphviz/doinst.sh2
-rw-r--r--graphics/graphviz/graphviz.SlackBuild4
2 files changed, 3 insertions, 3 deletions
diff --git a/graphics/graphviz/doinst.sh b/graphics/graphviz/doinst.sh
index 3eeed5b0f0e16..86cc279c4dfea 100644
--- a/graphics/graphviz/doinst.sh
+++ b/graphics/graphviz/doinst.sh
@@ -11,7 +11,7 @@ config() {
# Otherwise, we leave the .new copy for the admin to consider...
}
-config etc/php/graphviz.ini.new
+config etc/php.d/graphviz.ini.new
# Configure plugins
# (writes /usr/lib*/graphviz/config6 with available plugin information)
diff --git a/graphics/graphviz/graphviz.SlackBuild b/graphics/graphviz/graphviz.SlackBuild
index dca0ce1bd0844..14e32cd863c91 100644
--- a/graphics/graphviz/graphviz.SlackBuild
+++ b/graphics/graphviz/graphviz.SlackBuild
@@ -98,8 +98,8 @@ make
make install-strip DESTDIR=$PKG
# Install config file for PHP.
-mkdir -p $PKG/etc/php
-sed "s|@LIBDIRSUFFIX@|$LIBDIRSUFFIX|" $CWD/graphviz.ini > $PKG/etc/php/graphviz.ini.new
+mkdir -p $PKG/etc/php.d
+sed "s|@LIBDIRSUFFIX@|$LIBDIRSUFFIX|" $CWD/graphviz.ini > $PKG/etc/php.d/graphviz.ini.new
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done