diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2007-04-29 11:29:00 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2007-04-29 11:29:00 +0000 |
commit | b66af3de165953fb15a8295a528202db665f484e (patch) | |
tree | 7bc1457adfec3bc931850e39143ea5beb8c659a6 /usr.sbin/pkg_add/OpenBSD/PackingElement.pm | |
parent | 040a5435e573e7f9bdf12eac23ae6aa9c925e4b7 (diff) |
make packing-lists more regular by including the CONTENTS. Avoid
`recursion' by not writing it out. also remove PackingList::write,
since it's a simple visitor.
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/PackingElement.pm')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/PackingElement.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PackingElement.pm b/usr.sbin/pkg_add/OpenBSD/PackingElement.pm index fac30909866..f200725cb73 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.88 2007/04/15 10:17:29 espie Exp $ +# $OpenBSD: PackingElement.pm,v 1.89 2007/04/29 11:28:59 espie Exp $ # # Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org> # @@ -1243,6 +1243,9 @@ sub write package OpenBSD::PackingElement::FCONTENTS; our @ISA=qw(OpenBSD::PackingElement::SpecialFile); sub category() { OpenBSD::PackageInfo::CONTENTS } +# XXX we don't write `self' +sub write +{} package OpenBSD::PackingElement::FMODULE; our @ISA=qw(OpenBSD::PackingElement::SpecialFile); |