From 02294408b698891e161ac446f4327124cb2fa941 Mon Sep 17 00:00:00 2001 From: espie Date: Wed, 8 Jun 2022 14:57:12 +0000 Subject: [PATCH] recognize @extraglob for later okay sthen@ --- usr.sbin/pkg_add/OpenBSD/PackingElement.pm | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/usr.sbin/pkg_add/OpenBSD/PackingElement.pm b/usr.sbin/pkg_add/OpenBSD/PackingElement.pm index fcbd23d6852..9ed19f15fe7 100644 --- a/usr.sbin/pkg_add/OpenBSD/PackingElement.pm +++ b/usr.sbin/pkg_add/OpenBSD/PackingElement.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: PackingElement.pm,v 1.281 2022/05/26 21:08:52 espie Exp $ +# $OpenBSD: PackingElement.pm,v 1.282 2022/06/08 14:57:12 espie Exp $ # # Copyright (c) 2003-2014 Marc Espie # @@ -1817,6 +1817,13 @@ sub destate &OpenBSD::PackingElement::Extra::destate; } +package OpenBSD::PackingElement::ExtraGlob; +our @ISA=qw(OpenBSD::PackingElement::FileObject); + +sub keyword() { 'extraglob' } +sub absolute_okay() { 1 } +__PACKAGE__->register_with_factory; + package OpenBSD::PackingElement::SpecialFile; our @ISA=qw(OpenBSD::PackingElement::Unique); -- 2.20.1