diff options
author | Karl Chen <kn007@users.noreply.github.com> | 2016-04-21 23:05:11 +0800 |
---|---|---|
committer | Karl Chen <kn007@users.noreply.github.com> | 2016-04-21 23:05:11 +0800 |
commit | 98360c681fa95791e7bbc77a9b3fca7c641d9dcc (patch) | |
tree | 175b08b847b3bf2ad0669e72ec52a7c33db1049f | |
parent | 40340029b08243d49ad1db7b751b6f6fda57726d (diff) |
ktsaou's recommendations
-rwxr-xr-x | netdata-installer.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/netdata-installer.sh b/netdata-installer.sh index e1a93ee0ef..4a3012a40f 100755 --- a/netdata-installer.sh +++ b/netdata-installer.sh @@ -4,7 +4,11 @@ [ -f /etc/profile ] && . /etc/profile # fix PKG_CHECK_MODULES error -export ACLOCAL_PATH=/usr/share/aclocal +if [ -d /usr/share/aclocal ] +then + ACLOCAL_PATH=${ACLOCAL_PATH-/usr/share/aclocal} + export ACLOCAL_PATH +fi LC_ALL=C |