summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/OpenBSD/PackingList.pm
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2007-05-31 13:33:18 +0000
committerMarc Espie <espie@cvs.openbsd.org>2007-05-31 13:33:18 +0000
commited961759e86d7846ebfd8ee299b97c8d9572c102 (patch)
treeead6e4d8147438ba61a07f746793e50b86394182 /usr.sbin/pkg_add/OpenBSD/PackingList.pm
parenta6ffe0c491a0cf8157f266b5d4f31191179117b9 (diff)
move set validation earlier (in fact, it probably doesn't belong in
really_add). move common delete_installed() code inside Delete.pm
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/PackingList.pm')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/PackingList.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PackingList.pm b/usr.sbin/pkg_add/OpenBSD/PackingList.pm
index 28fc60f7cdd..0708ad292e4 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.73 2007/05/31 13:11:21 espie Exp $
+# $OpenBSD: PackingList.pm,v 1.74 2007/05/31 13:33:17 espie Exp $
#
# Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org>
#
@@ -426,7 +426,7 @@ sub from_installation
sub to_cache
{
my ($self) = @_;
- return if defined $plist_cache->{$self->pkgname()};
+ return if defined $plist_cache->{$self->pkgname};
my $plist = new OpenBSD::PackingList;
for my $c (@cache_categories) {
if (defined $self->{$c}) {