diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2011-08-26 08:46:11 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2011-08-26 08:46:11 +0000 |
commit | 97ac7fb0e9cda6bc6d8074fc35afd6d43d52f379 (patch) | |
tree | de35bf34d6293e50bbb7bbc5e92076c861473345 /usr.sbin/pkg_add/OpenBSD/PackingList.pm | |
parent | c4539981e253688c82c7f3f387443f773318a9c9 (diff) |
zap fatpackages. nobody actually uses them.
accordingly, locations do not need to track architecture.
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/PackingList.pm')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/PackingList.pm | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PackingList.pm b/usr.sbin/pkg_add/OpenBSD/PackingList.pm index e6a1279035f..5eff0ebd738 100644 --- a/usr.sbin/pkg_add/OpenBSD/PackingList.pm +++ b/usr.sbin/pkg_add/OpenBSD/PackingList.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: PackingList.pm,v 1.114 2011/06/16 14:48:36 espie Exp $ +# $OpenBSD: PackingList.pm,v 1.115 2011/08/26 08:46:10 espie Exp $ # # Copyright (c) 2003-2010 Marc Espie <espie@openbsd.org> # @@ -291,21 +291,6 @@ sub UpdateInfoOnly } } -sub FatOnly -{ - my ($fh, $cont) = @_; - my $_; - while (<$fh>) { - # XXX optimization - if (m/^\@arch\b/o) { - &$cont($_); - return; - } - next unless m/^\@(?:name\b)/o; - &$cont($_); - } -} - sub ConflictOnly { my ($fh, $cont) = @_; |