From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp40.i.mail.ru (smtp40.i.mail.ru [94.100.177.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id DCA06446439 for ; Sun, 25 Oct 2020 11:37:47 +0300 (MSK) From: "Alexander V. Tikhonov" Date: Sun, 25 Oct 2020 11:37:42 +0300 Message-Id: In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH v1 1/3] update_repo: add message which file to remove List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kirill Yukhin Cc: tarantool-patches@dev.tarantool.org Added message which file to remove to be sure that the needed files were searched to remove. --- tools/update_repo.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tools/update_repo.sh b/tools/update_repo.sh index 99896664d..8e43f2442 100755 --- a/tools/update_repo.sh +++ b/tools/update_repo.sh @@ -486,8 +486,10 @@ function remove_deb { # remove all found file by the given pattern in options for suffix in '-1_all.deb' '-1_amd64.deb' '-1.dsc' '-1.debian.tar.xz' '.orig.tar.xz' ; do - $aws ls "$bucket_path/$poolpath/${remove}$suffix" || continue - $aws rm "$bucket_path/$poolpath/${remove}$suffix" + file="$bucket_path/$poolpath/${remove}$suffix" + echo "Searching to remove: $file" + $aws ls "$file" || continue + $aws rm "$file" done } @@ -878,6 +880,7 @@ function remove_rpm { # storage, but does not mentioned in the metadata. for suffix in 'x86_64' 'noarch' 'src'; do file="$bucket_path/$packpath/${remove}-1.${os}${option_dist}.${suffix}.rpm" + echo "Searching to remove: $file" $aws ls $file || continue $aws rm $file done -- 2.25.1