From e2874320fc027f7ab51ab3e115d5b1889b8fd747 Mon Sep 17 00:00:00 2001 From: "Austin S. Hemmelgarn" Date: Mon, 13 Apr 2020 08:39:52 -0400 Subject: Revert changes since v1.21 in pereparation for hotfix release. --- packaging/installer/install-required-packages.sh | 6 ++---- packaging/installer/methods/macos.md | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'packaging/installer') diff --git a/packaging/installer/install-required-packages.sh b/packaging/installer/install-required-packages.sh index 26a17192e1..ae07e6642f 100755 --- a/packaging/installer/install-required-packages.sh +++ b/packaging/installer/install-required-packages.sh @@ -192,7 +192,7 @@ get_os_release() { eval "$(grep -E "^(NAME|ID|ID_LIKE|VERSION|VERSION_ID)=" "${os_release_file}")" for x in "${ID}" ${ID_LIKE}; do case "${x,,}" in - alpine | arch | centos | clear-linux-os | debian | fedora | gentoo | manjaro | opensuse-leap | rhel | sabayon | sles | suse | ubuntu) + alpine | arch | centos | debian | fedora | gentoo | sabayon | rhel | ubuntu | suse | opensuse-leap | sles | clear-linux-os) distribution="${x}" version="${VERSION_ID}" codename="${VERSION}" @@ -1047,9 +1047,7 @@ declare -A pkg_zip=( ) validate_package_trees() { - if type -t validate_tree_${tree} > /dev/null; then - validate_tree_${tree} - fi + validate_tree_${tree} } validate_installed_package() { diff --git a/packaging/installer/methods/macos.md b/packaging/installer/methods/macos.md index d51ffccf23..337e1ef596 100644 --- a/packaging/installer/methods/macos.md +++ b/packaging/installer/methods/macos.md @@ -75,7 +75,7 @@ sudo ./netdata-installer.sh --install /usr/local > Your Netdata configuration directory will be at `/usr/local/netdata/`, and your stock configuration directory will > be at **`/usr/local/lib/netdata/conf.d/`.** > -> The installer will also install a startup plist to start Netdata when your macOS system boots. +> The installer will also install a startup plist to start Netdata when your Mac boots. ## What's next? -- cgit v1.2.3