Browse Source

Add back the symlink netdata-latest.gz.run (#5286)

static build 64 breaks without it. Hasn't built properly since Dec.
Chris Akritidis 6 years ago
parent
commit
8332381d61
1 changed files with 4 additions and 0 deletions
  1. 4 0
      packaging/makeself/jobs/99-makeself.install.sh

+ 4 - 0
packaging/makeself/jobs/99-makeself.install.sh

@@ -92,4 +92,8 @@ FILE="netdata-${VERSION}.gz.run"
 
 run mkdir -p artifacts
 run mv "${NETDATA_INSTALL_PATH}.gz.run" "artifacts/${FILE}"
+
+[ -f netdata-latest.gz.run ] && rm netdata-latest.gz.run
+run ln -s "artifacts/${FILE}" netdata-latest.gz.run
+
 echo >&2 "Self-extracting installer moved to 'artifacts/${FILE}'"