summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/common-functions12
1 files changed, 10 insertions, 2 deletions
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() {