summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/OpenBSD
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2020-02-20 16:40:50 +0000
committerMarc Espie <espie@cvs.openbsd.org>2020-02-20 16:40:50 +0000
commitb4b4930f189a0cff3fb59b29edff6ecf6dd606f3 (patch)
tree5f5506a95d3531955239824df502e3b47e746da2 /usr.sbin/pkg_add/OpenBSD
parent1643ec7a58b32d569462dd8b6430bd453af3fc51 (diff)
forgot to actually put "nodebug" in state
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/PackingElement.pm7
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PackingElement.pm b/usr.sbin/pkg_add/OpenBSD/PackingElement.pm
index 8fa4a3147c3..df4ef6fd637 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.275 2020/02/20 16:31:11 espie Exp $
+# $OpenBSD: PackingElement.pm,v 1.276 2020/02/20 16:40:49 espie Exp $
#
# Copyright (c) 2003-2014 Marc Espie <espie@openbsd.org>
#
@@ -748,7 +748,10 @@ sub add
} elsif ($args =~ m/^(?:subdir|pkgpath)\=(.*?)\s+ftp\=(.*?)\s*$/o) {
return OpenBSD::PackingElement::ExtraInfo->add($plist, $1, undef, $2);
} elsif ($args eq 'no checksum') {
- $plist->{state}->{nochecksum} = 1;
+ $plist->{state}{nochecksum} = 1;
+ return;
+ } elsif ($args eq 'no debug') {
+ $plist->{state}{nodebug} = 1;
return;
} else {
return $class->SUPER::add($plist, $args);