diff options
author | Niels AD <niels.a.d@gmail.com> | 2017-05-20 11:13:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-20 11:13:44 +0200 |
commit | 54662ec385a264be7afd65a35f1eef74022ea4f4 (patch) | |
tree | d6bbee54162f55ed5df61a3bce48655eaa87ddb0 /netdata-installer.sh | |
parent | 33f1a6fe6c520b02c5262fc4cadd2f1ea3cda0b8 (diff) |
Fix suggested command for auto updates (resolves #2211)
Diffstat (limited to 'netdata-installer.sh')
-rwxr-xr-x | netdata-installer.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/netdata-installer.sh b/netdata-installer.sh index 1887901d76..391e54be5d 100755 --- a/netdata-installer.sh +++ b/netdata-installer.sh @@ -1250,11 +1250,11 @@ REINSTALL echo >&2 "only if it fails (it does not print anything when it can update netdata).${TPUT_RESET}" if [ "${UID}" -eq "0" ] then - if [ -d "/etc/cron.daily" -a ! -f "/etc/cron.daily/netdata-updater.sh" ] + if [ -d "/etc/cron.daily" -a ! -f "/etc/cron.daily/netdata-updater" ] then echo >&2 "${TPUT_DIM}Run this to automatically check and install netdata updates once per day:${TPUT_RESET}" echo >&2 - echo >&2 "${TPUT_YELLOW}${TPUT_BOLD}ln -s ${PWD}/netdata-updater.sh /etc/cron.daily/netdata-updater.sh${TPUT_RESET}" + echo >&2 "${TPUT_YELLOW}${TPUT_BOLD}ln -s ${PWD}/netdata-updater.sh /etc/cron.daily/netdata-updater${TPUT_RESET}" elif [ -d "/etc/periodic/daily" -a ! -f "/etc/periodic/daily/netdata-updater" ] then echo >&2 "${TPUT_DIM}Run this to automatically check and install netdata updates once per day:${TPUT_RESET}" |