From 9cba69bfc0917d16f9b41339dbb8fb8245ee08f4 Mon Sep 17 00:00:00 2001 From: espie Date: Wed, 20 Apr 2022 09:24:07 +0000 Subject: [PATCH] likewise for set flavors --- usr.sbin/pkg_add/OpenBSD/PackageRepository/Cache.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/usr.sbin/pkg_add/OpenBSD/PackageRepository/Cache.pm b/usr.sbin/pkg_add/OpenBSD/PackageRepository/Cache.pm index 1031e3cfa0c..e1a937c88db 100644 --- a/usr.sbin/pkg_add/OpenBSD/PackageRepository/Cache.pm +++ b/usr.sbin/pkg_add/OpenBSD/PackageRepository/Cache.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: Cache.pm,v 1.3 2022/04/20 09:19:52 espie Exp $ +# $OpenBSD: Cache.pm,v 1.4 2022/04/20 09:24:07 espie Exp $ # # Copyright (c) 2022 Marc Espie # @@ -70,6 +70,7 @@ sub prime_update_info_cache next if $stem =~ m/^\.libs\d*\-/; next if $stem =~ m/^partial\-/; $stem =~ s/\%.*//; # zap branch info + $stem =~ s/\-\-.*//; # and set flavors $self->{stems}{$stem} = 1; } } -- 2.20.1