diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-07-09 07:46:03 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-07-09 07:46:03 +0700 |
commit | 31c7d4c7eea22ea3e2ee833700e7caca3074f951 (patch) | |
tree | 9cd4e7e6b597397a20c2e270e39e11191087e061 /system/netdata | |
parent | a9dcb248cb7a44d7d5431d3b6faae673dbf4ee74 (diff) |
system/netdata: Fix path on x86_64.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/netdata')
-rw-r--r-- | system/netdata/netdata.SlackBuild | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/system/netdata/netdata.SlackBuild b/system/netdata/netdata.SlackBuild index 585e469922530..bd9f1ad119f37 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 |