@cryptotaxi247 / netdata-1 / commits / e97d1062e

Fixed typos in installer functions. (#9992)

Thewe were preventing auto-updates from working correctly.

Austin S. Hemmelgarn committed Sep 25, 2020 at 08:03 UTC e97d1062e872d15a68001866ddc6f2d6971c5039
1 file changed +2 -2
packaging/installer/functions.sh
+2 -2
@@ -964,9 +964,9 @@ cleanup_old_netdata_updater() {
964 enable_netdata_updater() {
965 case "$(_get_scheduler_type)" in
966 "interval")
967 - ln -sf "${NETDATA_PREFIX}/usr/libexec/netdata/netdata-updater.sh" "$(_get_interval_dir)/netdata-updater"
967 + ln -sf "${NETDATA_PREFIX}/usr/libexec/netdata/netdata-updater.sh" "$(_get_intervaldir)/netdata-updater"
968
969 - echo >&2 "Auto-updating has been enabled through cron, updater script linked to ${TPUT_RED}${TPUT_BOLD}$(_get_interval_dir)/netdata-updater${TPUT_RESET}"
969 + echo >&2 "Auto-updating has been enabled through cron, updater script linked to ${TPUT_RED}${TPUT_BOLD}$(_get_intervaldir)/netdata-updater${TPUT_RESET}"
970 echo >&2
971 echo >&2 "If the update process fails and you have email notifications set up correctly for cron on this system, you should receive an email notification of the failure."
972 echo >&2 "Successful updates will not send an email."