summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/OpenBSD/Add.pm
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2007-06-06 15:35:21 +0000
committerMarc Espie <espie@cvs.openbsd.org>2007-06-06 15:35:21 +0000
commitea9a8816b779692801a49aeccf42395dc82dd521 (patch)
tree59364923b03b7cbe0190be5db7478fb3e6f74a1a /usr.sbin/pkg_add/OpenBSD/Add.pm
parent90cb3427e2ac45ac819802bb9297290a0e9ec312 (diff)
finish moving the size computations out of validate_plist.
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/Add.pm')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/Add.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Add.pm b/usr.sbin/pkg_add/OpenBSD/Add.pm
index 5a35bcb0220..6e77e89e917 100644
--- a/usr.sbin/pkg_add/OpenBSD/Add.pm
+++ b/usr.sbin/pkg_add/OpenBSD/Add.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: Add.pm,v 1.74 2007/06/06 15:31:06 espie Exp $
+# $OpenBSD: Add.pm,v 1.75 2007/06/06 15:35:20 espie Exp $
#
# Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org>
#
@@ -60,7 +60,6 @@ sub validate_plist
my ($plist, $state) = @_;
$plist->prepare_for_addition($state, $plist->pkgname);
- return $plist->compute_size;
}
sub record_partial_installation