summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2022-04-27 14:11:28 +0000
committerMarc Espie <espie@cvs.openbsd.org>2022-04-27 14:11:28 +0000
commit1ef45baa2bf7f44ebabcecd4d29a3e20e701b33f (patch)
tree4cc049d30e9c76bd8883fcc4989ae4311b519c29 /usr.sbin
parentf7186448c2d54e4c4a9df57702d10c99b0547dc5 (diff)
note to myself for 7.2
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/PackageRepository/Installed.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PackageRepository/Installed.pm b/usr.sbin/pkg_add/OpenBSD/PackageRepository/Installed.pm
index 0cb92d31a82..da6fcb51685 100644
--- a/usr.sbin/pkg_add/OpenBSD/PackageRepository/Installed.pm
+++ b/usr.sbin/pkg_add/OpenBSD/PackageRepository/Installed.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: Installed.pm,v 1.40 2022/04/19 12:51:32 espie Exp $
+# $OpenBSD: Installed.pm,v 1.41 2022/04/27 14:11:27 espie Exp $
#
# Copyright (c) 2007-2014 Marc Espie <espie@openbsd.org>
#
@@ -69,6 +69,8 @@ sub setup_cache
require OpenBSD::PackageRepository::Cache;
+ # TODO before 7.2: if the repo is package-stable, also use
+ # the cache for release because it ought to be more recent
$repository->{info_cache} =
OpenBSD::PackageRepository::Cache->new($state, $setlist);
}