From: espie Date: Wed, 11 May 2022 17:17:35 +0000 (+0000) Subject: fix quirks timestamp display: it's done somewhat early, before we decide X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=3f93875d699f0f4c566c96b2212207a5e3a37c44;p=openbsd 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. --- 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 # @@ -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