From: espie Date: Sun, 12 Jan 2014 11:18:57 +0000 (+0000) Subject: allow prev release keys for now, transition 5.4 -> 5.5 kindof requires X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=551019b8a9b01c68a4fb3908d28051695eda77ff;p=openbsd allow prev release keys for now, transition 5.4 -> 5.5 kindof requires it. --- diff --git a/usr.sbin/pkg_add/OpenBSD/AddCreateDelete.pm b/usr.sbin/pkg_add/OpenBSD/AddCreateDelete.pm index ab2bbf0e1a9..1bed9b71b09 100644 --- a/usr.sbin/pkg_add/OpenBSD/AddCreateDelete.pm +++ b/usr.sbin/pkg_add/OpenBSD/AddCreateDelete.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: AddCreateDelete.pm,v 1.19 2014/01/09 20:20:01 espie Exp $ +# $OpenBSD: AddCreateDelete.pm,v 1.20 2014/01/12 11:18:57 espie Exp $ # # Copyright (c) 2007-2014 Marc Espie # @@ -118,10 +118,11 @@ OpenBSD::Auto::cache(signer_list, my $value = `$cmd`; $value =~ s/\.//; chomp $value; + my $previous = $value - 1; if ($self->defines('FW_UPDATE')) { - return [$value."fw"]; + return [$value."fw", $previous."fw"]; } else { - return [$value."pkg"]; + return [$value."pkg", $previous."pkg"]; } } });