summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/OpenBSD/Signature.pm
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/Signature.pm')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/Signature.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Signature.pm b/usr.sbin/pkg_add/OpenBSD/Signature.pm
index 925e1d0f5f8..f1a48e74662 100644
--- a/usr.sbin/pkg_add/OpenBSD/Signature.pm
+++ b/usr.sbin/pkg_add/OpenBSD/Signature.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: Signature.pm,v 1.21 2018/12/16 10:44:18 espie Exp $
+# $OpenBSD: Signature.pm,v 1.22 2018/12/16 10:45:38 espie Exp $
#
# Copyright (c) 2010 Marc Espie <espie@openbsd.org>
#
@@ -120,13 +120,13 @@ sub from_plist
$k->{VERSION} //= OpenBSD::PackingElement::Version->new(0);
if ($plist->has('always-update')) {
- return $class->always->new($plist->pkgname, $k, $plist);
+ return $class->full->new($plist->pkgname, $k, $plist);
} else {
return $class->new($plist->pkgname, $k);
}
}
-sub always
+sub full
{
return "OpenBSD::Signature::Full";
}