forgot to kill that
authorespie <espie@openbsd.org>
Sat, 16 Sep 2023 09:33:13 +0000 (09:33 +0000)
committerespie <espie@openbsd.org>
Sat, 16 Sep 2023 09:33:13 +0000 (09:33 +0000)
usr.sbin/pkg_add/OpenBSD/PackageRepository/Cache.pm

index 7c516f9..d44eed0 100644 (file)
@@ -1,5 +1,5 @@
 # ex:ts=8 sw=4:
-# $OpenBSD: Cache.pm,v 1.12 2023/06/13 09:07:18 espie Exp $
+# $OpenBSD: Cache.pm,v 1.13 2023/09/16 09:33:13 espie Exp $
 #
 # Copyright (c) 2022 Marc Espie <espie@openbsd.org>
 #
@@ -137,9 +137,6 @@ sub get_cached_info($self, $name)
                $content = '';
                open my $fh, "-|", $self->pipe_locate($name.":*") or die $!;
                while (<$fh>) {
-                       if (m/\@option\s+always-update/) {
-                               return undef;
-                       }
                        if (m/^.*?\:(.*)/) {
                                $content .= $1."\n";
                        } else {