From 7816b7af9302cebd95e8aeebb7e4164ca0eef097 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 15 Sep 2017 16:09:32 +0200 Subject: bin/common-functions: add todo --- bin/common-functions | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/common-functions b/bin/common-functions index 350e0b6..2d99f80 100755 --- a/bin/common-functions +++ b/bin/common-functions @@ -403,8 +403,16 @@ ls_master_mirror() { } # remove_old_package_versions $arch $repository $package_file -# removes all older (not-newer) versions of $package_file for architecture -# $arch in all repositories not-older (newer) than $repository + +# removes all older (not-newer) versions of $package_file +# in all repositories not-older (newer) than $repository + +# TODO: implement b) and c) + +# A package is considered older (not newer) if +# a) its version is older (not newer) or +# b) if its architecture is 'any' and different or +# c) if the other architecture is 'any' and different remove_old_package_versions() { -- cgit v1.2.3-54-g00ecf