From b34bf3e56a882ce4086f76d3f24d052eb337ee4c Mon Sep 17 00:00:00 2001 From: Jay Lee Date: Wed, 22 Dec 2021 15:58:08 -0500 Subject: [PATCH] Update linux-before-install.sh --- .github/actions/linux-before-install.sh | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/.github/actions/linux-before-install.sh b/.github/actions/linux-before-install.sh index 6e1ac2d0..92174cca 100755 --- a/.github/actions/linux-before-install.sh +++ b/.github/actions/linux-before-install.sh @@ -95,18 +95,8 @@ else pip=~/python/bin/pip3 if ([ "${ImageOS}" == "ubuntu20" ]) && [ "${HOSTTYPE}" == "x86_64" ]; then - echo "Installing deps for StaticX..." - if [ ! -d patchelf-$PATCHELF_VERSION ]; then - echo "Downloading PatchELF $PATCHELF_VERSION" - wget https://github.com/NixOS/patchelf/archive/$PATCHELF_VERSION.tar.gz - tar xf $PATCHELF_VERSION.tar.gz - cd patchelf-$PATCHELF_VERSION/ - ./bootstrap.sh - ./configure - make - sudo make install - fi - $pip install staticx + "${python}" -m pip install --upgrade patchelf-wrapper + "${python}" -m pip install --upgrade staticx fi cd $whereibelong