summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
author Willy Sudiarto Raharjo2022-07-09 02:46:03 +0200
committer Willy Sudiarto Raharjo2022-07-09 02:46:03 +0200
commit31c7d4c7eea22ea3e2ee833700e7caca3074f951 (patch)
tree9cd4e7e6b597397a20c2e270e39e11191087e061 /system
parenta9dcb248cb7a44d7d5431d3b6faae673dbf4ee74 (diff)
downloadslackbuilds-31c7d4c7eea22ea3e2ee833700e7caca3074f951.tar.gz
system/netdata: Fix path on x86_64.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/netdata/netdata.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/system/netdata/netdata.SlackBuild b/system/netdata/netdata.SlackBuild
index 585e469922..bd9f1ad119 100644
--- a/system/netdata/netdata.SlackBuild
+++ b/system/netdata/netdata.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for netdata
-# Copyright 2017-2019 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2017-2022 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=netdata
VERSION=${VERSION:-1.35.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -122,6 +122,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/var/lock/subsys/ $PKG/var/cache/netdata $PKG/var/lib/netdata $PKG/var/log/netdata
+sed -i "s|usr/lib|usr/lib${LIBDIRSUFFIX}|g" $PKG/etc/netdata/edit-config
# set permission
chown -R $NETDATA_USER:$NETDATA_GROUP $PKG/var/lib/netdata
chown -R $NETDATA_USER:$NETDATA_GROUP $PKG/var/log/netdata