summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>2018-12-16 10:45:38 +0000
committerespie <espie@openbsd.org>2018-12-16 10:45:38 +0000
commiteb15e62ccda8dbe0d516d0faec0aa3ec0d928d0c (patch)
treea040c72b07335dfdc25da08b67b93829c9379033
parentmissing annotation after refactor (diff)
downloadwireguard-openbsd-eb15e62ccda8dbe0d516d0faec0aa3ec0d928d0c.tar.xz
wireguard-openbsd-eb15e62ccda8dbe0d516d0faec0aa3ec0d928d0c.zip
bad choice of name. don't reuse the same method name to mean different
things
-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";
}