diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2022-05-11 17:17:36 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2022-05-11 17:17:36 +0000 |
commit | 595e5a59475006e728fd86a362e40ef151d270c8 (patch) | |
tree | acc2d75eb2d91151bea9c76333dd18e95ef89af8 /usr.sbin | |
parent | d32eda1edb6e12f7db9eab6420824a3513d657a4 (diff) |
fix quirks timestamp display: it's done somewhat early, before we decide
whether we update or not, so we need to decorate the update_info with
the signer timestamp. It's the only place where an update_info actually
needs that stuff.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/PkgAdd.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm b/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm index 58df2121b1f..8660ea6f41e 100644 --- a/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm +++ b/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm @@ -1,7 +1,7 @@ #! /usr/bin/perl # ex:ts=8 sw=4: -# $OpenBSD: PkgAdd.pm,v 1.133 2022/05/11 07:51:47 espie Exp $ +# $OpenBSD: PkgAdd.pm,v 1.134 2022/05/11 17:17:35 espie Exp $ # # Copyright (c) 2003-2014 Marc Espie <espie@openbsd.org> # @@ -349,6 +349,7 @@ sub find_kept_handle return if !defined $plist; my $pkgname = $plist->pkgname; if ($set->{quirks}) { + $n->{location}->decorate($plist); display_timestamp($pkgname, $plist, $state); } # condition for no update |