1
0
mirror of https://github.com/wofferl/proxmox-backup-arm64.git synced 2025-04-19 04:02:15 +03:00

exclude static client from install

Signed-off-by: Wolfgang <github@linux-dude.de>
This commit is contained in:
Wolfgang 2025-04-16 19:23:26 +00:00
parent 23d00e7cc1
commit fae8e1f64b
2 changed files with 2 additions and 2 deletions

View File

@ -6,4 +6,4 @@ COPY . /build/
WORKDIR /build/packages
RUN ls -l
RUN apt update && apt-get -y install /build/packages/*deb
RUN apt update && apt-get -y install $(find /build/packages/ -name '*.deb' ! -name '*static*.deb')

View File

@ -142,7 +142,7 @@ function download_release() {
version=${1:-latest}
release_url="https://api.github.com/repos/wofferl/proxmox-backup-arm64/releases/${version}"
echo "Downloading ${version} released files to "${PACKAGES}
for download_url in $(curl -sSf ${release_url} | sed -n '/browser_download_url/ {/dbgsym/!s/.*\(https[^"]*\)"/\1/p}'); do
for download_url in $(curl -sSf ${release_url} | sed -n '/browser_download_url/ {/static\|dbgsym/!s/.*\(https[^"]*\)"/\1/p}'); do
file=$(basename ${download_url})
if [ -e ${PACKAGES}/${file} ]; then
echo "${file} already exist"