summaryrefslogtreecommitdiff
path: root/system/netdata/netdata.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/netdata/netdata.SlackBuild')
-rw-r--r--system/netdata/netdata.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/system/netdata/netdata.SlackBuild b/system/netdata/netdata.SlackBuild
index 680340fb46..6ecff625c1 100644
--- a/system/netdata/netdata.SlackBuild
+++ b/system/netdata/netdata.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=netdata
VERSION=${VERSION:-1.11.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
NETDATA_USER=${NETDATA_USER:-netdata}
@@ -148,10 +148,10 @@ do
mv $L $L.new
done
-for L in `ls $PKG/usr/lib${LIBDIRSUFFIX}/netdata/conf.d/node.d/*.conf`
-do
-mv $L $L.new
-done
+#for L in `ls $PKG/usr/lib${LIBDIRSUFFIX}/netdata/conf.d/node.d/*.conf`
+#do
+#mv $L $L.new
+#done
for L in `ls $PKG/usr/lib${LIBDIRSUFFIX}/netdata/conf.d/statsd.d/*.conf`
do
@@ -160,7 +160,7 @@ done
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
+sed -e s/%LIBDIRSUFFIX%/$LIBDIRSUFFIX/g $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}