diff options
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/PackingElement.pm | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PackingElement.pm b/usr.sbin/pkg_add/OpenBSD/PackingElement.pm index f200725cb73..91541c8edbf 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.89 2007/04/29 11:28:59 espie Exp $ +# $OpenBSD: PackingElement.pm,v 1.90 2007/04/30 08:43:19 espie Exp $ # # Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org> # @@ -250,7 +250,6 @@ sub write { my ($self, $fh) = @_; return if defined $self->{zap}; - print $fh "\@ignore\n" if defined $self->{ignore}; print $fh "\@comment no checksum\n" if defined $self->{nochecksum}; $self->SUPER::write($fh); if (defined $self->{md5}) { @@ -280,10 +279,6 @@ sub destate $self->{nochecksum} = 1; undef $state->{nochecksum}; } - if (defined $state->{ignore}) { - $self->{ignore} = 1; - undef $state->{ignore}; - } } sub add_md5 @@ -453,9 +448,6 @@ __PACKAGE__->setKeyword('ignore'); sub add { - my ($class, $plist, @args) = @_; - $plist->{state}->{ignore} = 1; - return; } # Comment is very special |