From 860f022c639ad8a2be8e8a20b9787a2fe244aab9 Mon Sep 17 00:00:00 2001 From: Kentaro Hayashi Date: Mon, 1 Jul 2024 16:36:45 +0900 Subject: [PATCH] deb rpm: allow to override existing artifacts It accept to override existing artifacts. Signed-off-by: Kentaro Hayashi --- fluent-package/manage-fluent-repositories.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fluent-package/manage-fluent-repositories.sh b/fluent-package/manage-fluent-repositories.sh index 9dcb69628..87416fb68 100755 --- a/fluent-package/manage-fluent-repositories.sh +++ b/fluent-package/manage-fluent-repositories.sh @@ -212,7 +212,7 @@ EOF rm -f $package.zip && curl --silent --location --output $package.zip \ -H "Authorization: Bearer $GITHUB_ACCESS_TOKEN" $download_url && - unzip -u $package.zip) + unzip -u -o $package.zip) ;; *centos*|*rockylinux*|*almalinux*|*amazonlinux*) mkdir -p yum/repositories @@ -220,7 +220,7 @@ EOF rm -f $package.zip && curl --silent --location --output $package.zip \ -H "Authorization: Bearer $GITHUB_ACCESS_TOKEN" $download_url && - unzip -u $package.zip) + unzip -u -o $package.zip) ;; *) curl --silent --location --output $package.zip \