summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2005-11-05 10:59:22 +0000
committerMarc Espie <espie@cvs.openbsd.org>2005-11-05 10:59:22 +0000
commita83a75f3cdc91a1e05b70efee323ff59f74fdce3 (patch)
tree1982474c016a454d53420649000730471a5b279a /usr.sbin/pkg_add
parent73f619041bfc51ae1bec579e58708ce69866925f (diff)
same fix as Add.pm: make sure we parse the whole package.
Diffstat (limited to 'usr.sbin/pkg_add')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/Update.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Update.pm b/usr.sbin/pkg_add/OpenBSD/Update.pm
index 4238434e4c3..de0933542df 100644
--- a/usr.sbin/pkg_add/OpenBSD/Update.pm
+++ b/usr.sbin/pkg_add/OpenBSD/Update.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: Update.pm,v 1.58 2005/10/19 10:41:19 espie Exp $
+# $OpenBSD: Update.pm,v 1.59 2005/11/05 10:59:21 espie Exp $
#
# Copyright (c) 2004 Marc Espie <espie@openbsd.org>
#
@@ -72,6 +72,7 @@ sub extract
}
if ($state->{not}) {
print "extracting tempfile under $d\n" if $state->{very_verbose};
+ $state->{archive}->skip();
} else {
if (!-e _) {
File::Path::mkpath($d);