@cryptotaxi247 / netdata-1 / commits / 31c4623cd

chore(kickstart.sh): remove unused `--auto-update` option when using static/build install method (#12725)

Ilya Mashchenko committed Apr 21, 2022 at 17:42 UTC 31c4623cdf062b29675b612391d77b2f7f572a41
1 file changed +1 -5
packaging/installer/kickstart.sh
+1 -5
@@ -1396,7 +1396,7 @@ try_static_install() {
1396
1397 progress "Installing netdata"
1398 # shellcheck disable=SC2086
1399 - if ! run ${ROOTCMD} sh "${tmpdir}/netdata-${SYSARCH}-latest.gz.run" ${opts} -- ${NETDATA_AUTO_UPDATES:+--auto-update} ${NETDATA_INSTALLER_OPTIONS}; then
1399 + if ! run ${ROOTCMD} sh "${tmpdir}/netdata-${SYSARCH}-latest.gz.run" ${opts} -- ${NETDATA_INSTALLER_OPTIONS}; then
1400 warning "Failed to install static build of Netdata on ${SYSARCH}."
1401 run rm -rf /opt/netdata
1402 return 2
@@ -1482,10 +1482,6 @@ build_and_install() {
1482 opts="${opts} --dont-wait"
1483 fi
1484
1485 - if [ "${NETDATA_AUTO_UPDATES}" -eq 1 ]; then
1486 - opts="${opts} --auto-update"
1487 - fi
1488 -
1485 if [ "${RELEASE_CHANNEL}" = "stable" ]; then
1486 opts="${opts} --stable-channel"
1487 fi