run-parts does not run scripts with .sh extension
Costa Tsaousis (ktsaou) committed
Mar 19, 2017 at 00:31 UTC
57203bd326d01f879bbe1995dbd6624012c6e77c
1 file changed
+2
-2
netdata-installer.sh
+2
-2
@@ -1441,11 +1441,11 @@ REINSTALL
1441
echo >&2 "${TPUT_DIM}Run this to automatically check and install netdata updates once per day:${TPUT_RESET}"
1442
echo >&2
1443
echo >&2 "${TPUT_YELLOW}${TPUT_BOLD}ln -s ${PWD}/netdata-updater.sh /etc/cron.daily/netdata-updater.sh${TPUT_RESET}"
1444
- elif [ -d "/etc/periodic/daily" -a ! -f "/etc/periodic/daily/netdata-updater.sh" ]
1444
+ elif [ -d "/etc/periodic/daily" -a ! -f "/etc/periodic/daily/netdata-updater" ]
1445
then
1446
echo >&2 "${TPUT_DIM}Run this to automatically check and install netdata updates once per day:${TPUT_RESET}"
1447
echo >&2
1448
- echo >&2 "${TPUT_YELLOW}${TPUT_BOLD}ln -s ${PWD}/netdata-updater.sh /etc/periodic/daily/netdata-updater.sh${TPUT_RESET}"
1448
+ echo >&2 "${TPUT_YELLOW}${TPUT_BOLD}ln -s ${PWD}/netdata-updater.sh /etc/periodic/daily/netdata-updater${TPUT_RESET}"
1449
fi
1450
fi
1451
elif [ -f "netdata-updater.sh" ]