summaryrefslogtreecommitdiffstats
path: root/netdata-installer.sh
diff options
context:
space:
mode:
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>2017-03-19 00:31:17 +0200
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>2017-03-19 00:31:17 +0200
commit57203bd326d01f879bbe1995dbd6624012c6e77c (patch)
tree49ddea20883f7175f396e99bda6c79e6cdfc5e21 /netdata-installer.sh
parent00b2e6d14498314e5c2d113ec9ea8e132a0586ab (diff)
run-parts does not run scripts with .sh extension
Diffstat (limited to 'netdata-installer.sh')
-rwxr-xr-xnetdata-installer.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/netdata-installer.sh b/netdata-installer.sh
index 8713c8b930..6b672a242e 100755
--- a/netdata-installer.sh
+++ b/netdata-installer.sh
@@ -1441,11 +1441,11 @@ REINSTALL
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}"
- elif [ -d "/etc/periodic/daily" -a ! -f "/etc/periodic/daily/netdata-updater.sh" ]
+ 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}"
echo >&2
- echo >&2 "${TPUT_YELLOW}${TPUT_BOLD}ln -s ${PWD}/netdata-updater.sh /etc/periodic/daily/netdata-updater.sh${TPUT_RESET}"
+ echo >&2 "${TPUT_YELLOW}${TPUT_BOLD}ln -s ${PWD}/netdata-updater.sh /etc/periodic/daily/netdata-updater${TPUT_RESET}"
fi
fi
elif [ -f "netdata-updater.sh" ]