Fix suggested command for auto updates (resolves #2211)
Niels AD committed
May 20, 2017 at 11:13 UTC
54662ec385a264be7afd65a35f1eef74022ea4f4
1 file changed
+2
-2
netdata-installer.sh
+2
-2
@@ -1250,11 +1250,11 @@ REINSTALL
1250
echo >&2 "only if it fails (it does not print anything when it can update netdata).${TPUT_RESET}"
1251
if [ "${UID}" -eq "0" ]
1252
then
1253
- if [ -d "/etc/cron.daily" -a ! -f "/etc/cron.daily/netdata-updater.sh" ]
1253
+ if [ -d "/etc/cron.daily" -a ! -f "/etc/cron.daily/netdata-updater" ]
1254
then
1255
echo >&2 "${TPUT_DIM}Run this to automatically check and install netdata updates once per day:${TPUT_RESET}"
1256
echo >&2
1257
- echo >&2 "${TPUT_YELLOW}${TPUT_BOLD}ln -s ${PWD}/netdata-updater.sh /etc/cron.daily/netdata-updater.sh${TPUT_RESET}"
1257
+ echo >&2 "${TPUT_YELLOW}${TPUT_BOLD}ln -s ${PWD}/netdata-updater.sh /etc/cron.daily/netdata-updater${TPUT_RESET}"
1258
elif [ -d "/etc/periodic/daily" -a ! -f "/etc/periodic/daily/netdata-updater" ]
1259
then
1260
echo >&2 "${TPUT_DIM}Run this to automatically check and install netdata updates once per day:${TPUT_RESET}"