From e6141f7a134f42143f41946ea287fcc158600607 Mon Sep 17 00:00:00 2001 From: MARTY FABIEN Date: Fri, 10 Jul 2020 14:38:27 +0200 Subject: [PATCH] build: little fixes --- .github/workflows/build.yml | 2 +- .metwork-framework/README.md | 6 +++--- installer/install.sh | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 633537a..9d0f2e8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -76,7 +76,7 @@ jobs: # only for releases - name: upload release asset id: upload-release-asset - if: startsWith(github.ref, 'refs/tags/v') + if: startsWith(github.ref, 'refs/tags/v') || github.event_name == 'release' uses: actions/upload-release-asset@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.metwork-framework/README.md b/.metwork-framework/README.md index 09a2486..3e7952e 100644 --- a/.metwork-framework/README.md +++ b/.metwork-framework/README.md @@ -42,9 +42,9 @@ bash -c "$(curl -fsSLk https://raw.githubusercontent.com/metwork-framework/log_p Notes: - if you are very concerned about the security of your system and if you don't want to execute -a remote `root` script on your system, please review the [very small](https://raw.githubusercontent.com/metwork-framework/log_proxy/master/installer/install.sh) -install script (it's just about downloading and installing two statically compiled binaries in `/usr/local/bin/`) -- our binary distribution won't work on [Alpine Linux](https://alpinelinux.org/) because of `glibc` replacement but @tomalok is maintaining a [log_proxy Alpine Linux package](https://pkgs.alpinelinux.org/packages?name=log_proxy). +a remote `root` script on your system, please review the [very small install script](https://raw.githubusercontent.com/metwork-framework/log_proxy/master/installer/install.sh) + (it's just about downloading and installing two statically compiled binaries in `/usr/local/bin/`) +- our binary distribution won't work on [Alpine Linux](https://alpinelinux.org/) because of `glibc` replacement but [@tomalok](https://github.com/tomalok) is maintaining a [log_proxy Alpine Linux package](https://pkgs.alpinelinux.org/packages?name=log_proxy). ## How to uninstall? diff --git a/installer/install.sh b/installer/install.sh index 9fa4b9a..04ca46a 100755 --- a/installer/install.sh +++ b/installer/install.sh @@ -34,7 +34,7 @@ zcat "${ORG}-${REPO}-${RELEASE}.tar.gz" |tar xf - mkdir -p "${PREFIX}/bin" for F in log_proxy log_proxy_wrapper; do cp -f "log_proxy-linux64-${RELEASE}/${F}" "${PREFIX}/bin/" - chmod a+rx "${TARGET}/bin/${F}" + chmod a+rx "${PREFIX}/bin/${F}" done rm -f "log_proxy-linux64-${RELEASE}.tar.gz" echo "Done"