Properly clean up install paths after runtime checks in static builds. (#20017)
Co-authored-by: Costa Tsaousis <costa@netdata.cloud>
Austin S. Hemmelgarn committed
Mar 31, 2025 at 17:29 UTC
f3702110bd23d0de3ace75e7adff5c61b53d9e7d
1 file changed
+2
packaging/makeself/jobs/81-netdata-runtime-check.sh
+2
@@ -26,5 +26,7 @@ fi
26
27
trap - EXIT
28
29
+run rm -rv "${NETDATA_INSTALL_PATH}/var/lib/netdata" "${NETDATA_INSTALL_PATH}/var/cache/netdata"
30
+
31
# shellcheck disable=SC2015
32
[ "${GITHUB_ACTIONS}" = "true" ] && echo "::endgroup::" || true