summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2007-05-29 13:15:24 +0000
committerMarc Espie <espie@cvs.openbsd.org>2007-05-29 13:15:24 +0000
commit78e91c5a806337da507021d5916f3b720edfefbd (patch)
tree24b19ffe4ba2d6b08d6a56497c816fa3adaa2a33
parent34512e23b2570dbbf0db81f024f371edb84b46bf (diff)
set_infodir during pkg_add.
-rw-r--r--usr.sbin/pkg_add/pkg_add3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/pkg_add b/usr.sbin/pkg_add/pkg_add
index f3bf2b2b0fd..da51e5264ca 100644
--- a/usr.sbin/pkg_add/pkg_add
+++ b/usr.sbin/pkg_add/pkg_add
@@ -1,7 +1,7 @@
#! /usr/bin/perl
# ex:ts=8 sw=4:
-# $OpenBSD: pkg_add,v 1.286 2007/05/28 13:55:34 espie Exp $
+# $OpenBSD: pkg_add,v 1.287 2007/05/29 13:15:23 espie Exp $
#
# Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org>
#
@@ -324,6 +324,7 @@ sub really_add
my $destdir = $state->{destdir};
my $plist = $handle->{plist};
my $dir = $location->info;
+ $plist->set_infodir($location->info);
my $pkgname = $handle->{pkgname};
my $errors = 0;
$state->{archive} = $location;