From a0ae1cf1b22202cd07f0ea96f7d639477655bdb5 Mon Sep 17 00:00:00 2001 From: espie Date: Sat, 27 May 2023 10:07:12 +0000 Subject: [PATCH] more comment --- usr.sbin/pkg_add/OpenBSD/UpdateSet.pm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/usr.sbin/pkg_add/OpenBSD/UpdateSet.pm b/usr.sbin/pkg_add/OpenBSD/UpdateSet.pm index a258a57a0be..64df690163b 100644 --- a/usr.sbin/pkg_add/OpenBSD/UpdateSet.pm +++ b/usr.sbin/pkg_add/OpenBSD/UpdateSet.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: UpdateSet.pm,v 1.87 2022/04/13 21:20:23 espie Exp $ +# $OpenBSD: UpdateSet.pm,v 1.88 2023/05/27 10:07:12 espie Exp $ # # Copyright (c) 2007-2010 Marc Espie # @@ -60,6 +60,10 @@ sub pkgname package OpenBSD::hint2; our @ISA = qw(OpenBSD::hint); +# Code organisation: this is the stuff that's common for actual UpdateSets +# (used by pkg_add) and DeleteSets, a simpler version used by pkg_delete. +# Turns out some of that stuff is identical. +# The really juicy stuff resides in pkg_add/pkg_delete proper. package OpenBSD::DeleteSet; use OpenBSD::Error; @@ -131,6 +135,7 @@ sub has_error &OpenBSD::Handle::has_error; } +# display code that will put together packages with the same version sub smart_join { my $self = shift; -- 2.20.1