diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2007-04-30 08:43:20 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2007-04-30 08:43:20 +0000 |
commit | 1edec451fbb0d7fca80520f53d3a6c3e17fb47ee (patch) | |
tree | 43825c0999374613dc3a5d6ae74ca520ceb7e655 /usr.sbin/pkg_add/OpenBSD | |
parent | 4c46fde6963196f34e167734b13fcffab2241d1f (diff) |
add most things concerning @ignore, since we now have ways nicer to do
things.
We still recognize @ignore in packing-lists for now, but we don't handle
it. Not that register-plist has smart enough comparison functions that
it doesn't care about @ignore at all...
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 |