Skip to content
Snippets Groups Projects
Commit 7b320655 authored by Alexander V. Tikhonov's avatar Alexander V. Tikhonov Committed by Kirill Yukhin
Browse files

update_repo: add message which file to remove

Added message which file to remove to be sure that the needed files
were searched to remove.
parent ffa988de
No related branches found
No related tags found
No related merge requests found
......@@ -492,8 +492,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
}
......@@ -886,6 +888,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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment